/* ===================================
   Technology Page Styles - Redesigned
   =================================== */


.technology-page {
    padding: 0;
}

/* Hero Section - Redesigned */
.tech-hero {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 0;
    background: #47d5ff;
}

.tech-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.3;
}

.tech-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #47d5ff;
    z-index: 1;
}

.tech-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 80px 20px;
    max-width: 900px;
    animation: fadeInUp 1s ease-out;
}

.tech-hero-content h1 {
    font-family: 'Roboto', sans-serif;
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.2;
}

.tech-hero-content p {
    font-family: 'Kedebideri', sans-serif;
    font-size: 1.4rem;
    line-height: 1.6;
    color: #000;
    max-width: 700px;
    margin: 0 auto;
}

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

/* Technology Sections - Redesigned Grid Layout */
.technology-page .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 20px;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 100px;
}

.tech-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.tech-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.tech-card-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
    background-color: #f8f8f8;
}

.tech-card-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #47d5ff;
    z-index: 1;
}

.tech-section-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tech-card:hover .tech-section-image {
    transform: scale(1.05);
}

.tech-card-content {
    padding: 40px 35px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tech-card-content h2 {
    font-family: 'Roboto', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.3;
    position: relative;
    padding-bottom: 15px;
}

.tech-card-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #47d5ff;
    border-radius: 2px;
}

.tech-card-content p {
    font-family: 'Kedebideri', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 25px;
    flex: 1;
}

.tech-card-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.tech-card-content ul li {
    font-family: 'Kedebideri', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333;
    padding: 12px 15px 12px 40px;
    background-color: #f8f8f8;
    border-radius: 6px;
    position: relative;
    transition: all 0.3s ease;
    border-left: 3px solid #47d5ff;
}

.tech-card-content ul li:hover {
    background-color: #f0f0f0;
    transform: translateX(3px);
}

.tech-card-content ul li::before {
    content: '✓';
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #47d5ff;
    font-size: 1.2rem;
    font-weight: bold;
    line-height: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .tech-hero {
        min-height: 60vh;
    }
    
    .tech-hero-content h1 {
        font-size: 3.5rem;
    }
    
    .tech-hero-content p {
        font-size: 1.2rem;
    }
    
    .technology-page .container {
        padding: 80px 20px;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .tech-card-content h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .tech-hero {
        min-height: 50vh;
    }
    
    .tech-hero-content {
        padding: 60px 20px;
    }
    
    .tech-hero-content h1 {
        font-size: 2.8rem;
        margin-bottom: 20px;
        letter-spacing: 1px;
    }
    
    .tech-hero-content p {
        font-size: 1.1rem;
    }
    
    .technology-page .container {
        padding: 60px 20px;
    }
    
    .tech-grid {
        gap: 25px;
        margin-bottom: 60px;
    }
    
    .tech-card-image {
        height: 250px;
    }
    
    .tech-card-content {
        padding: 30px 25px;
    }
    
    .tech-card-content h2 {
        font-size: 1.5rem;
        margin-bottom: 18px;
    }
    
    .tech-card-content p {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .tech-hero {
        min-height: 45vh;
    }
    
    .tech-hero-content {
        padding: 40px 15px;
    }
    
    .tech-hero-content h1 {
        font-size: 2.2rem;
        letter-spacing: 0.5px;
    }
    
    .tech-hero-content p {
        font-size: 1rem;
    }
    
    .technology-page .container {
        padding: 50px 15px;
    }
    
    .tech-grid {
        gap: 20px;
        margin-bottom: 50px;
    }
    
    .tech-card-image {
        height: 220px;
    }
    
    .tech-card-content {
        padding: 25px 20px;
    }
    
    .tech-card-content h2 {
        font-size: 1.3rem;
        margin-bottom: 15px;
        padding-bottom: 12px;
    }
    
    .tech-card-content h2::after {
        width: 50px;
        height: 2px;
    }
    
    .tech-card-content p {
        font-size: 0.9rem;
        margin-bottom: 18px;
    }
    
    .tech-card-content ul li {
        font-size: 0.9rem;
        padding: 10px 12px 10px 35px;
    }
}

/* ===================================
   FAQ Section
   =================================== */
.faq-section {
    margin-top: 100px;
    padding: 80px 0;
    background-color: #f8f8f8;
    border-radius: 20px;
}

.faq-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.faq-section .section-header h2 {
    font-family: 'Roboto', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.faq-item {
    margin-bottom: 20px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.faq-question {
    width: 100%;
    padding: 25px 30px;
    background: #ffffff;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #000;
    transition: all 0.3s ease;
    position: relative;
}

.faq-question:hover {
    background-color: #f8f8f8;
}

.faq-question[aria-expanded="true"] {
    background-color: #47d5ff;      
    color: #ffffff;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
    color: #ffffff;
}

.faq-icon {
    font-size: 1.8rem;
    font-weight: 300;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #002b6b;
    flex-shrink: 0;
    margin-left: 20px;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 30px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 30px 25px;
}

.faq-answer p {
    font-family: 'Kedebideri', sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    margin: 0;
    padding-top: 20px;
}

/* Responsive FAQ */
@media (max-width: 768px) {
    .faq-section {
        margin-top: 60px;
        padding: 60px 20px;
        border-radius: 15px;
    }
    
    .faq-section .section-header h2 {
        font-size: 2rem;
    }
    
    .faq-question {
        padding: 20px 20px;
        font-size: 1rem;
    }
    
    .faq-icon {
        font-size: 1.5rem;
        margin-left: 15px;
    }
    
    .faq-answer {
        padding: 0 20px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 20px;
    }
    
    .faq-answer p {
        font-size: 0.95rem;
        padding-top: 15px;
    }
}

@media (max-width: 480px) {
    .faq-section {
        margin-top: 50px;
        padding: 50px 15px;
    }
    
    .faq-section .section-header h2 {
        font-size: 1.75rem;
    }
    
    .faq-question {
        padding: 18px 15px;
        font-size: 0.95rem;
    }
    
    .faq-icon {
        font-size: 1.3rem;
        margin-left: 10px;
    }
}
