/* General Styles */
body {
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

.container {
    width: 90%;
    margin: auto;
    overflow: hidden;
}

.section-title {
    text-align: center;
    font-size: 2.5em;
    color: #333;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    height: 4px;
    width: 60px;
    background-color: #007bff;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/computer_hero.jpg') no-repeat center center/cover;
    color: #fff;
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.hero-content h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.5em;
    margin-bottom: 30px;
}

.hero-cta .cta-primary,
.hero-cta .cta-secondary {
    display: inline-block;
    background: #007bff;
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    margin: 10px;
    transition: background-color 0.3s ease;
}

.hero-cta .cta-primary:hover {
    background: #0056b3;
}

.hero-cta .cta-secondary {
    background: #6c757d;
}

.hero-cta .cta-secondary:hover {
    background: #5a6268;
}

.hero-stats {
    display: flex;
    justify-content: center;
    margin-top: 50px;
    flex-wrap: wrap;
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px 30px;
    margin: 10px;
    text-align: center;
    flex: 1;
    min-width: 180px;
    max-width: 220px;
}

.stat-item i {
    font-size: 2.5em;
    margin-bottom: 10px;
    color: #007bff;
}

.stat-item .stat-number {
    font-size: 2em;
    font-weight: bold;
    display: block;
}

.stat-item .stat-text {
    font-size: 1em;
    opacity: 0.8;
}

/* Introduction Section */
.introduction {
    padding: 60px 20px;
    background-color: #fff;
    text-align: center;
}

.introduction p {
    font-size: 1.1em;
    max-width: 800px;
    margin: 20px auto;
}

/* Services Grid Section */
.services {
    padding: 60px 20px;
    background-color: #f9f9f9;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: auto;
}

.service-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.service-card i {
    font-size: 3.5em;
    color: #007bff;
    margin-bottom: 15px;
}

.service-card h3 {
    font-size: 1.8em;
    margin-bottom: 10px;
    color: #333;
}

.service-card p {
    font-size: 1em;
    color: #666;
    margin-bottom: 20px;
}

.service-card .service-link {
    display: inline-block;
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.service-card .service-link:hover {
    color: #0056b3;
}

/* Detailed Service Sections */
.service-detail {
    padding: 80px 20px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.service-detail.alt {
    background-color: #f9f9f9;
}

.service-detail .content-wrapper {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    width: 100%;
    align-items: center;
    justify-content: space-between;
}

.service-detail .service-content {
    flex: 2;
    padding-right: 30px;
    min-width: 300px;
}

.service-detail .service-content h2 {
    font-size: 2.2em;
    color: #333;
    margin-bottom: 20px;
}

.service-detail .service-content p {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 20px;
}

.service-detail .service-features {
    list-style: none;
    padding: 0;
}

.service-detail .service-features li {
    font-size: 1em;
    color: #444;
    margin-bottom: 10px;
    position: relative;
    padding-right: 25px;
}

.service-detail .service-features li::before {
    content: '\f00c'; /* Font Awesome check icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 0;
    color: #28a745;
}

.service-detail .service-action {
    flex: 1;
    min-width: 300px;
    padding-left: 30px;
    text-align: center;
}

.service-detail .action-card {
    background: #007bff;
    color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-detail .action-card h3 {
    font-size: 1.8em;
    margin-bottom: 10px;
}

.service-detail .action-card p {
    font-size: 1em;
    margin-bottom: 20px;
}

.service-detail .action-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.service-detail .action-button {
    display: inline-block;
    background: #fff;
    color: #007bff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
    white-space: nowrap;
}

.service-detail .action-button:hover {
    background: #e9ecef;
}

.service-detail .action-button i {
    margin-left: 8px;
}

/* Branches Section */
.branches {
    padding: 60px 20px;
    background-color: #f4f4f4;
    text-align: center;
}

.branches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: auto;
}

.branch-item {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.branch-item i {
    font-size: 3em;
    color: #28a745;
    margin-bottom: 15px;
}

.branch-item h3 {
    font-size: 1.6em;
    margin-bottom: 10px;
    color: #333;
}

.branch-item p {
    font-size: 0.95em;
    color: #666;
}

.branches-note {
    margin-top: 40px;
    font-size: 1.1em;
    font-style: italic;
    color: #555;
}

/* FAQ Section */
.faq {
    padding: 60px 20px;
    background-color: #fff;
}

.faq-container {
    max-width: 900px;
    margin: auto;
}

.faq-item {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    background-color: #eee;
    color: #333;
    padding: 18px 20px;
    width: 100%;
    text-align: right;
    border: none;
    outline: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #ddd;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1em;
    flex-grow: 1;
}

.faq-question i {
    margin-right: 10px;
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    background-color: #fefefe;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    padding: 15px 0;
    margin: 0;
    color: #555;
}

/* Journals Section */
.journals {
    padding: 60px 20px;
    background-color: #f4f4f4;
    text-align: center;
}

.journals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: auto;
}

.journal-category {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: right;
}

.journal-category h3 {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 20px;
}

.journal-category h3 i {
    margin-left: 10px;
    color: #007bff;
}

.journal-category ul {
    list-style: none;
    padding: 0;
}

.journal-category ul li {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 10px;
    border-bottom: 1px dashed #eee;
    padding-bottom: 8px;
}

.journal-category ul li:last-child {
    border-bottom: none;
}

/* Testimonials Section */
.testimonials {
    padding: 60px 20px;
    background-color: #fff;
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: auto;
}

.testimonial-card {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: right;
}

.testimonial-card .quote {
    font-size: 1.1em;
    color: #444;
    margin-bottom: 20px;
    line-height: 1.8;
    font-style: italic;
}

.testimonial-card .author-info h4 {
    margin: 0;
    color: #333;
    font-size: 1.2em;
}

.testimonial-card .author-info span {
    color: #777;
    font-size: 0.9em;
}

/* Tips Section */
.tips {
    padding: 60px 20px;
    background-color: #f4f4f4;
    text-align: center;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: auto;
}

.tip-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.tip-card i {
    font-size: 3.5em;
    color: #ffc107;
    margin-bottom: 15px;
}

.tip-card h3 {
    font-size: 1.8em;
    margin-bottom: 10px;
    color: #333;
}

.tip-card p {
    font-size: 1em;
    color: #666;
}

/* Contact Section */
.contact {
    padding: 60px 20px;
    background-color: #fff;
    text-align: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: auto;
}

.contact-card {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.contact-card .icon-wrapper {
    background: #007bff;
    color: #fff;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5em;
    margin: 0 auto 20px auto;
}

.contact-card .icon-wrapper.whatsapp {
    background: #25D366;
}

.contact-card .icon-wrapper.email {
    background: #dc3545;
}

.contact-card h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #333;
}

.contact-card .contact-link {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
}

.contact-card .contact-link:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5em;
    }

    .hero-content p {
        font-size: 1.2em;
    }

    .hero-stats {
        flex-direction: column;
        align-items: center;
    }

    .stat-item {
        min-width: 250px;
        max-width: 80%;
    }

    .service-detail .service-content {
        padding-right: 0;
        margin-bottom: 30px;
    }

    .service-detail .service-action {
        padding-left: 0;
    }

    .journals-grid, .testimonials-grid, .tips-grid, .contact-grid, .branches-grid, .services-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card, .journal-category, .tip-card, .contact-card, .branch-item, .service-card, .faq-item {
        margin: 0 auto 20px auto;
        max-width: 400px;
        min-width:250px;
    }

    .faq-question h3 {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 2em;
    }

    .hero-content h1 {
        font-size: 2em;
    }

    .hero-content p {
        font-size: 1em;
    }

    .hero-cta .cta-primary,
    .hero-cta .cta-secondary {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .service-card h3 {
        font-size: 1.5em;
    }

    .service-detail .service-content h2 {
        font-size: 1.8em;
    }

    .journal-category h3 {
        font-size: 1.5em;
    }
}
