/* ===================================
   PAGES CSS - HAKKIMIZDA, ILETISIM, BLOG
   =================================== */

/* Common Styles */
.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    color: var(--theme-color1);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.section-header p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* ===================================
   ABOUT US PAGE (HAKKIMIZDA)
   =================================== */

/* About Hero Section */
.about-hero-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.about-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-hero-text h1 {
    color: var(--theme-color1);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--theme-color1);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: #666;
    font-weight: 600;
}

.about-hero-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-hero-image:hover .hero-image-overlay {
    opacity: 1;
}

.play-button {
    width: 80px;
    height: 80px;
    background: var(--theme-color1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-button:hover {
    background: var(--theme-color2);
    transform: scale(1.1);
}

/* Company Story Section */
.company-story-section {
    padding: 100px 0;
    background: white;
}

.story-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.story-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--theme-color1);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-year {
    width: 100px;
    height: 100px;
    background: var(--theme-color1);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0, 130, 203, 0.3);
}

.timeline-content {
    flex: 1;
    padding: 0 40px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 30px;
    border: 1px solid #f0f0f0;
}

.timeline-content h3 {
    color: var(--theme-color1);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
}

/* Values Section */
.values-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.value-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--theme-color1);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0082cb, #38a7e6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 32px;
}

.value-card h3 {
    color: var(--theme-color1);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.value-card p {
    color: #666;
    line-height: 1.6;
}

/* Team Section */
.team-section {
    padding: 100px 0;
    background: white;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.team-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.team-image {
    height: 280px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-info {
    padding: 30px;
    text-align: center;
}

.team-info h3 {
    color: var(--theme-color1);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.team-position {
    color: var(--theme-color2);
    font-weight: 600;
    margin-bottom: 15px;
}

.team-description {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

/* Certificates Section */
.certificates-section {
    padding: 100px 0;
    background: #f8f9fa;
}

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

.certificate-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

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

.certificate-card img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
}

.certificate-card h3 {
    color: var(--theme-color1);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.certificate-card p {
    color: #666;
    font-size: 14px;
}

/* ===================================
   CONTACT PAGE (ILETISIM)
   =================================== */

/* Contact Hero Section */
.contact-hero-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-hero-text h1 {
    color: var(--theme-color1);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
}

.contact-quick-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.quick-info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

.quick-info-item i {
    color: var(--theme-color1);
    font-size: 18px;
    width: 20px;
}

.quick-info-item span {
    color: #333;
    font-weight: 600;
}

.contact-hero-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.contact-hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* Contact Main Section */
.contact-main-section {
    padding: 100px 0;
    background: white;
}

.contact-main-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

/* Contact Form */
.contact-form-container {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

.form-header {
    margin-bottom: 40px;
}

.form-header h2 {
    color: var(--theme-color1);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.form-header p {
    color: #666;
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #333;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--theme-color1);
    box-shadow: 0 0 0 3px rgba(0, 130, 203, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #dc3545;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 15px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
}

.checkbox-label a {
    color: var(--theme-color1);
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.submit-btn {
    background: linear-gradient(135deg, #0082cb, #38a7e6);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    align-self: flex-start;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 130, 203, 0.3);
}

/* Contact Info */
.contact-info-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info-container iframe {
    border-radius: 20px;
    filter:grayscale(100%);
    transition: all 0.3s ease;
}

.contact-info-container iframe:hover {
    filter:grayscale(0%);
}

.contact-info-card,
.social-media-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

.contact-info-card h3,
.social-media-card h3 {
    color: var(--theme-color1);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 25px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0082cb, #38a7e6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
}

.info-content h4 {
    color: var(--theme-color1);
    font-weight: 700;
    margin-bottom: 8px;
}

.info-content p {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

/* Social Media */
.social-media-card p {
    color: #666;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
}

.social-link.facebook { background: #1877f2; }
.social-link.twitter { background: #1da1f2; }
.social-link.linkedin { background: #0077b5; }
.social-link.instagram { background: #e4405f; }
.social-link.youtube { background: #ff0000; }

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Map Section */
.map-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: white;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 15px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.faq-item.active {
    border-color: var(--theme-color1);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h3 {
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    flex: 1;
}

.faq-question i {
    color: var(--theme-color1);
    font-size: 16px;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 30px 25px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ===================================
   BLOG PAGE
   =================================== */

/* Blog Hero Section */
.blog-hero-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    text-align: center;
}

.blog-hero-content h1 {
    color: var(--theme-color1);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 25px;
}

/* Blog Filter Section */
.blog-filter-section {
    padding: 60px 0;
    background: white;
}

.blog-filters {
    display: flex;
    justify-content: center;
}

.filter-tabs {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-tab {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    color: #666;
    text-decoration: none;
}

.filter-tab:hover {
    border-color: var(--theme-color1);
    color: var(--theme-color1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.filter-tab.active {
    background: var(--theme-color1);
    border-color: var(--theme-color1);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 130, 203, 0.3);
}

.filter-tab i {
    font-size: 16px;
}

/* Featured Post Section */
.featured-post-section {
    padding: 80px 0;
    background: white;
}

.featured-post {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #f0f0f0;
}

.featured-post-image {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.featured-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-post:hover .featured-post-image img {
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--theme-color1);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.featured-post-content {
    padding: 40px;
}

.post-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.post-category {
    padding: 6px 15px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: white;
}

.post-date,
.post-author {
    color: #666;
    font-size: 14px;
    font-weight: 600;
}

.featured-post-content h2 {
    color: var(--theme-color1);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.featured-post-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--theme-color1);
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    color: var(--theme-color2);
    transform: translateX(5px);
}

/* Blog Posts Section */
.blog-posts-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.blog-post-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.blog-post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.blog-post-card.hidden {
    display: none;
}

.blog-post-card.show {
    display: block;
    animation: fadeInUp 0.6s ease forwards;
}

.post-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-post-card:hover .post-image img {
    transform: scale(1.1);
}

.post-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blog-post-card:hover .post-overlay {
    opacity: 1;
}

.read-btn {
    background: var(--theme-color1);
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.read-btn:hover {
    background: var(--theme-color2);
    transform: scale(1.05);
}

.post-content {
    padding: 25px;
}

.post-content h3 {
    margin-bottom: 15px;
}

.post-content h3 a {
    color: var(--theme-color1);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.post-content h3 a:hover {
    color: var(--theme-color2);
}

.post-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 14px;
}

.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.post-stats {
    display: flex;
    gap: 20px;
}

.post-stats span {
    color: #666;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-stats i {
    color: var(--theme-color1);
}

.read-more {
    color: var(--theme-color1);
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--theme-color2);
}

/* Blog Pagination */
.blog-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 25px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.pagination-info {
    color: #666;
    font-size: 14px;
}

.pagination-info strong {
    color: var(--theme-color1);
    font-weight: 700;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.pagination-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--theme-color1);
    color: white;
    border: none;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.pagination-btn:hover:not(:disabled) {
    background: var(--theme-color2);
    transform: translateY(-2px);
}

.pagination-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Newsletter Section */
.newsletter-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--theme-color1) 0%, var(--theme-color2) 100%);
    color: white;
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.newsletter-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.newsletter-text p {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
}

.newsletter-form .form-group {
    display: flex;
    gap: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 18px 25px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    outline: none;
}

.newsletter-form button {
    background: white;
    color: var(--theme-color1);
    border: none;
    padding: 18px 30px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* Tablet Styles */
@media screen and (max-width: 1024px) {
    .about-hero-content,
    .contact-hero-content,
    .featured-post,
    .newsletter-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-main-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-stats {
        justify-content: center;
    }

    .timeline-item {
        flex-direction: row !important;
    }

    .timeline-item:nth-child(even) {
        flex-direction: row !important;
    }

    .story-timeline::before {
        left: 50px;
    }

    .timeline-year {
        width: 80px;
        height: 80px;
        font-size: 1rem;
    }

    .timeline-content {
        padding: 25px;
    }

    .values-grid,
    .team-grid,
    .certificates-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }

    .blog-posts-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }

    .filter-tabs {
        gap: 10px;
    }

    .filter-tab {
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
    #blogSearch {
        height:30px !important;
    }
    .section-header h2 {
        font-size: 2rem;
    }

    .about-hero-text h1,
    .contact-hero-text h1,
    .blog-hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }

    .stat-number {
        font-size: 2rem;
    }

    .about-hero-image,
    .contact-hero-image {
        height: 300px;
    }

    .about-hero-image img,
    .contact-hero-image img {
        height: 300px;
    }

    /* Timeline Mobile */
    .story-timeline::before {
        left: 20px;
    }

    .timeline-item {
        flex-direction: row !important;
        margin-bottom: 40px;
    }

    .timeline-year {
        width: 60px;
        height: 60px;
        font-size: 14px;
        font-weight: 600;
    }

    .timeline-content {
        padding: 20px;
        margin-left: 20px;
    }

    .timeline-content h3 {
        font-size: 1.2rem;
    }

    /* Values, Team, Certificates */
    .values-grid,
    .team-grid,
    .certificates-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .value-card,
    .team-card,
    .certificate-card {
        padding: 30px 20px;
    }

    .value-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .team-image {
        height: 250px;
    }

    .team-info {
        padding: 25px 20px;
    }

    /* Contact Form Mobile */
    .contact-form-container {
        padding: 30px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 15px;
    }

    .submit-btn {
        padding: 15px 30px;
        align-self: stretch;
        justify-content: center;
    }

    .contact-info-card,
    .social-media-card {
        padding: 25px 20px;
    }

    .contact-info-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .info-icon {
        align-self: center;
    }

    .social-links {
        justify-content: center;
    }

    /* Blog Mobile */
    .blog-posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .featured-post-image {
        height: 250px;
    }

    .featured-post-content {
        padding: 30px 25px;
    }

    .featured-post-content h2 {
        font-size: 1.6rem;
    }

    .post-image {
        height: 200px;
    }

    .post-content {
        padding: 20px;
    }

    .post-content h3 a {
        font-size: 1.2rem;
    }

    .post-footer {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .post-stats {
        gap: 15px;
    }

    /* Filter Tabs Mobile */
    .filter-tabs {
        flex-wrap: wrap;
        gap: 8px;
    }

    .filter-tab {
        padding: 10px 15px;
        font-size: 13px;
    }

    .filter-tab i {
        font-size: 14px;
    }

    /* Pagination Mobile */
    .blog-pagination,
    .pagination-modern {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding: 20px;
    }

    .pagination-controls {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .pagination-btn {
        padding: 10px 15px;
        font-size: 14px;
    }
    /* Newsletter Mobile */
    .newsletter-text h2 {
        font-size: 2rem;
    }

    .newsletter-form .form-group {
        flex-direction: column;
        gap: 15px;
    }

    .newsletter-form input,
    .newsletter-form button {
        padding: 15px 20px;
    }

    /* FAQ Mobile */
    .faq-question {
        padding: 20px;
    }

    .faq-question h3 {
        font-size: 1rem;
    }

    .faq-answer p {
        padding: 0 20px 20px;
    }
}

/* Small Mobile Styles */
@media screen and (max-width: 480px) {
    .mata-container {
        padding: 0 15px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .about-hero-text h1,
    .contact-hero-text h1,
    .blog-hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .about-hero-image,
    .contact-hero-image {
        height: 250px;
    }

    .about-hero-image img,
    .contact-hero-image img {
        height: 250px;
    }

    .timeline-content {
        padding: 15px;
        margin-left: 15px;
    }

    .value-card,
    .team-card,
    .certificate-card {
        padding: 25px 15px;
    }

    .contact-form-container {
        padding: 25px 15px;
    }

    .contact-info-card,
    .social-media-card {
        padding: 20px 15px;
    }

    .featured-post-content {
        padding: 25px 20px;
    }

    .featured-post-content h2 {
        font-size: 1.4rem;
    }

    .post-content {
        padding: 15px;
    }

    .filter-tab {
        padding: 8px 12px;
        font-size: 12px;
    }

    .newsletter-text h2 {
        font-size: 1.6rem;
    }

    .newsletter-text p {
        font-size: 1rem;
    }
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Video Modal Styles */
.video-container {
    position: relative;
    width: 100%;
    height: 500px;
    background: #000;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.content-section .content-wrapper h2 {
    text-align: center; 
}