/* About Page Specific Styles */
.body-aboutpage {
    background-color: #f9f9f9;
}

/* Hero Section */
.about-hero {
    height: 60vh;
    background-image: url('Images/Nuwaraeliya\ 1.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 0px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Breadcrumb */
.breadcrumb {
    background-color: #f5f5f5;
    padding: 15px 0;
    font-size: 0.9rem;
}

.breadcrumb .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.breadcrumb a {
    color: var(--primary-teal);
    text-decoration: none;
}

.breadcrumb span {
    color: var(--medium-gray);
}

/* About Sections */
.about-section {
    padding: 80px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--secondary-orange);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--medium-gray);
    max-width: 700px;
    margin: 0 auto;
}

/* Who We Are Section */
.who-we-are .content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
}

.who-we-are .image-container {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.who-we-are .image-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.who-we-are .image-container:hover img {
    transform: scale(1.05);
}

.who-we-are .text-container {
    flex: 1;
}

.who-we-are .text-container p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--dark-gray);
}

.signature {
    display: flex;
    align-items: center;
    margin-top: 30px;
}

.signature img {
    width: 120px;
    margin-right: 20px;
}

.signature p {
    margin: 0;
    font-style: italic;
    color: var(--primary-blue);
}

.signature span {
    display: block;
    font-size: 0.9rem;
    color: var(--medium-gray);
}

/* Mission & Vision Section */
.mission-vision {
    background-color: #f5f5f5;
}

.cards-container {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-teal);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    transition: all 0.3s;
}

.card:hover .card-icon {
    background: var(--secondary-orange);
    transform: rotateY(180deg);
}

.card h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.card p {
    color: var(--dark-gray);
    line-height: 1.8;
}

.card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.card li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    color: var(--dark-gray);
}

.card li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--secondary-orange);
}

/* Why Choose Us Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-teal);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    transition: all 0.3s;
}

.feature:hover .feature-icon {
    background: var(--secondary-orange);
    transform: scale(1.1);
}

.feature h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.feature p {
    color: var(--dark-gray);
    line-height: 1.8;
}

/* Our Team Section */
.team-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.team-member {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.member-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member:hover .member-image img {
    transform: scale(1.1);
}

.social-links {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 15px;
    transition: bottom 0.3s ease;
}

.team-member:hover .social-links {
    bottom: 0;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: var(--primary-teal);
    color: white;
    border-radius: 50%;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--secondary-orange);
    transform: translateY(-3px);
}

.team-member h3 {
    color: var(--primary-blue);
    margin: 20px 20px 5px;
    font-size: 1.3rem;
}

.team-member .position {
    color: var(--secondary-orange);
    margin: 0 20px 15px;
    font-weight: 600;
}

.team-member .bio {
    color: var(--dark-gray);
    margin: 0 20px 20px;
    line-height: 1.6;
}

/* Satisfaction Guarantee Section */
.guarantee {
    background-color: #f5f5f5;
}

.guarantee-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    padding: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.guarantee-icon {
    width: 100px;
    height: 100px;
    background: var(--primary-teal);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 30px;
    font-size: 2.5rem;
    flex-shrink: 0;
}

.guarantee-content {
    flex: 1;
}

.guarantee-content h2 {
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.guarantee-content p {
    color: var(--dark-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.guarantee-badge {
    display: flex;
    align-items: center;
    gap: 15px;
}

.guarantee-badge img {
    width: 80px;
    height: auto;
}

.guarantee-badge p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--medium-gray);
}

/* CTA Section */
.about-cta {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('Images/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 100px 0;
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    background: var(--secondary-orange);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.cta-button:hover {
    background: var(--accent-orange);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.cta-button i {
    margin-left: 10px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .who-we-are .content-wrapper {
        flex-direction: column;
    }
    
    .who-we-are .image-container,
    .who-we-are .text-container {
        width: 100%;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .about-hero {
        height: 50vh;
        margin-top: 70px;
    }
    
    .guarantee-card {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }
    
    .guarantee-icon {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .guarantee-badge {
        flex-direction: column;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .about-hero {
        height: 40vh;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .card {
        min-width: 100%;
    }
    
    .team-member {
        min-width: 100%;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
}