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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    color: #333;
    overflow-x: hidden;
}

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

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-toggle i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.dropdown-menu a:hover {
    background: #f8fffe;
    color: #2d6a6a;
    border-left-color: #2d6a6a;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 80px;
    height: 80px;
    background-color: transparent;
    border-radius: 8px;
    padding: 0;
}

.logo-text h1,
.logo-text h2 {
    font-size: 18px;
    margin: 0;
    line-height: 1.2;
}

/* Support header variants used across pages */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1a4a4a, #2d6a6a);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 700;
    border-radius: 8px;
}

/* Reusable logo text container */
.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 20px;
    font-weight: 600;
    color: #1a4a4a;
    line-height: 1;
}

.logo-sub {
    font-size: 14px;
    color: #666;
    line-height: 1;
}

/* Image logo variant */
.logo-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #2d6a6a;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2d6a6a;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.contact-btn {
    background: linear-gradient(135deg, #1a4a4a, #2d6a6a);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 74, 74, 0.3);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8fffe 0%, #e6f7f7 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #1a4a4a;
    position: relative;
}

.highlight {
    color: #2d6a6a;
    position: relative;
}

.hero-description {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn {
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #1a4a4a, #2d6a6a);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 74, 74, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #1a4a4a;
    border: 2px solid #1a4a4a;
}

.btn-secondary:hover {
    background: #1a4a4a;
    color: white;
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #2d6a6a;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
}

.hero-image {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: clamp(360px, 62vh, 620px); /* Fill the hero space responsively */
    border-radius: 20px; /* Match image rounding for a unified look */
}

/* Subtle gradient overlay for better caption contrast */
.hero-image::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,0.25) 100%);
    border-radius: inherit;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block; /* Eliminate inline image gaps and ensure full coverage */
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Hero slider */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slider .slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.hero-slider .slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-caption {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    backdrop-filter: blur(2px);
}

@media (max-width: 768px) {
    .slide-caption {
        font-size: 0.9rem;
        left: 12px;
        right: 12px;
        bottom: 12px;
        padding: 10px 12px;
    }
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a4a4a;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 80px 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 1.5rem;
    color: #1a4a4a;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.about-text h3:first-child {
    margin-top: 0;
}

.about-text p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.partnership {
    background: linear-gradient(135deg, #f8fffe, #e6f7f7);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
}

.partnership h4 {
    color: #1a4a4a;
    margin-bottom: 1rem;
}

.about-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.services {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fffe 0%, #e6f7f7 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #1a4a4a, #2d6a6a);
}

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

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1a4a4a, #2d6a6a);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.service-card h3 {
    font-size: 1.3rem;
    color: #1a4a4a;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-card ul {
    list-style: none;
}

.service-card li {
    color: #666;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2d6a6a;
    font-weight: bold;
}

/* Team Section */
.team {
    padding: 80px 0;
    background: white;
}

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

.team-member {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-photo {
    margin-bottom: 1.5rem;
}

.photo-placeholder {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #1a4a4a, #2d6a6a);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto;
    font-size: 3rem;
}

.member-info h3 {
    font-size: 1.3rem;
    color: #1a4a4a;
    margin-bottom: 0.5rem;
}

.member-title {
    color: #2d6a6a;
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-description {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.member-qualifications {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.qualification {
    background: linear-gradient(135deg, #e6f7f7, #f8fffe);
    color: #1a4a4a;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fffe 0%, #e6f7f7 100%);
    color: black;
}

.contact .section-title,
.contact .section-subtitle {
    color: black;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-details h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-details p {
    color: rgba(255, 255, 255, 0.8);
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    font-family: inherit;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: white;
}

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

/* Contact Page - Form Section */
.contact-form-section {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #2d6a6a;
    margin: 2rem 0 3rem;
}

.contact-form-section h3 {
    margin-bottom: 1rem;
    color: #1a4a4a;
    font-size: 1.6rem;
}

.contact-form-detailed {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-form-detailed .form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.contact-form-detailed .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1a4a4a;
}

.contact-form-detailed .form-group input,
.contact-form-detailed .form-group select,
.contact-form-detailed .form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e6f7f7;
    border-radius: 10px;
    background: #fff;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form-detailed .form-group input:focus,
.contact-form-detailed .form-group select:focus,
.contact-form-detailed .form-group textarea:focus {
    border-color: #2d6a6a;
    box-shadow: 0 0 0 4px rgba(45, 106, 106, 0.12);
    outline: none;
}

.contact-form-detailed button[type="submit"] {
    align-self: flex-start;
    padding: 14px 24px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 768px) {
    .contact-form-detailed .form-row {
        grid-template-columns: 1fr;
    }
    .contact-form-section {
        padding: 1.25rem;
    }
}

/* FAQ Section */
.faq-section {
    display: grid;
    gap: 1.25rem;
}

.faq-item {
    background: #ffffff;
    border-radius: 14px;
    border-left: 4px solid #2d6a6a;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    cursor: default; /* styled as header even if not interactive */
    background: linear-gradient(0deg, #ffffff, #ffffff);
}

.faq-question h3 {
    font-size: 1.1rem;
    color: #1a4a4a;
    margin: 0;
    line-height: 1.4;
}

.faq-question i {
    color: #2d6a6a;
    flex-shrink: 0;
    transition: transform 0.2s ease, color 0.2s ease;
}

.faq-item:hover .faq-question i {
    color: #1a4a4a;
}

.faq-answer {
    padding: 0 1.5rem 1.25rem 1.5rem;
    border-top: 1px dashed #e6f7f7;
    color: #555;
    line-height: 1.7;
    background: #fff;
}

.faq-answer p {
    margin: 0.75rem 0 0 0;
}

@media (max-width: 768px) {
    .faq-question {
        padding: 1rem 1rem;
    }
    .faq-answer {
        padding: 0 1rem 1rem 1rem;
    }
}

/* Why Choose Us Page Styles */
.intro-section {
    margin-bottom: 3rem;
}

.quick-facts {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.quick-facts li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: #555;
}

.quick-facts i {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #1a4a4a;
    background: #e6f7f7;
}

/* Core Values */
.core-values {
    padding: 3rem 0 1rem;
}

.core-values .values-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.value-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-left: 4px solid #2d6a6a;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
}

.value-card h3 {
    color: #1a4a4a;
    margin: 1rem 0 0.5rem;
    font-size: 1.25rem;
}

.value-card p {
    color: #666;
    margin: 0;
}

.value-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, #1a4a4a, #2d6a6a);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

/* Differentiators */
.differentiators {
    padding: 3rem 0 1rem;
}

.differentiators-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.differentiator-item {
    display: flex;
    gap: 1rem;
    background: #ffffff;
    padding: 1.25rem;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    border-left: 4px solid #2d6a6a;
}

.diff-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #e6f7f7;
    color: #1a4a4a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.diff-content h4 {
    color: #1a4a4a;
    margin: 0 0 0.35rem 0;
}

.diff-content p,
.membership-list {
    color: #555;
    margin: 0;
}

.membership-list {
    padding-left: 1.25rem;
}

/* Professional Indemnity */
.professional-indemnity {
    padding: 3rem 0 1rem;
}

.indemnity-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    background: linear-gradient(135deg, #f8fffe, #e6f7f7);
    padding: 2rem;
    border-radius: 16px;
}

.indemnity-text p {
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.indemnity-details {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px dashed #e6f7f7;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    color: #666;
    font-weight: 600;
}

.detail-value {
    color: #1a4a4a;
    font-weight: 700;
}

/* Why RightSource */
.why-rightsource {
    padding: 3rem 0 1rem;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

.reason-card {
    background: #ffffff;
    padding: 1.75rem;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    border-left: 4px solid #2d6a6a;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.reason-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}

.reason-card h4 {
    color: #1a4a4a;
    margin: 0.75rem 0 0.5rem;
}

.reason-card p {
    color: #555;
    margin: 0;
}

.reason-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1a4a4a, #2d6a6a);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* Our Charges */
.our-charges {
    padding: 3rem 0 1rem;
}

.charges-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.charge-item {
    display: flex;
    gap: 1rem;
    background: #ffffff;
    padding: 1.25rem;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    border-left: 4px solid #2d6a6a;
}

.charge-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #e6f7f7;
    color: #1a4a4a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.charge-text h4 {
    color: #1a4a4a;
    margin: 0 0 0.35rem 0;
}

.charge-text p {
    color: #555;
    margin: 0;
}

.pricing-note {
    margin-top: 0.5rem;
    background: #f8fffe;
    border-left: 4px solid #2d6a6a;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    color: #1a4a4a;
}

/* CTA */
.cta-section {
    margin: 3rem 0 0;
    background: linear-gradient(135deg, #1a4a4a, #2d6a6a);
    border-radius: 16px;
}

.cta-content {
    text-align: center;
    padding: 2.5rem 1.5rem;
    color: #fff;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.cta-content p {
    max-width: 800px;
    margin: 0 auto 1.25rem auto;
    color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

@media (max-width: 768px) {
    .indemnity-content {
        grid-template-columns: 1fr;
        padding: 1.25rem;
    }
    .cta-content {
        padding: 2rem 1rem;
    }
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Footer */
.footer {
    background: #1a4a4a;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #2d6a6a;
}

.partnership-text {
    color: white;
    font-weight: 500;
    margin-top: 1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-contact {
        display: none;
    }
    
    /* Mobile dropdown styles */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f8fffe;
        margin-top: 0.5rem;
        border-radius: 0;
        display: none;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .dropdown-toggle {
        justify-content: center;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .service-card,
    .team-member {
        padding: 1.5rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.pulse {
    animation: pulse 2s infinite;
}


/* Page Header Styles */
.page-header {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #1a4a4a, #2d6a6a);
    color: white;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Page Content Styles */
.page-content {
    padding: 80px 0;
    background: white;
}

.page-content.executives {
    background: linear-gradient(135deg, #f8fffe 0%, #ffeef7 50%, #e6f7f7 100%);
}

.page-content.executives .team-member {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(2px);
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.content-main h2 {
    font-size: 2.5rem;
    color: #1a4a4a;
    margin-bottom: 1.5rem;
}

.content-main h3 {
    font-size: 1.8rem;
    color: #1a4a4a;
    margin: 2.5rem 0 1rem 0;
}

.content-main h4 {
    font-size: 1.3rem;
    color: #1a4a4a;
    margin-bottom: 1rem;
}

.content-main p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.value-item {
    text-align: center;
    padding: 2rem;
    background: #f8fffe;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1a4a4a, #2d6a6a);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

/* Partnership Highlight */
.partnership-highlight {
    background: linear-gradient(135deg, #f8fffe, #e6f7f7);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    border-left: 4px solid #2d6a6a;
}

/* Certifications */
.certifications {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.cert-item {
    background: #f8fffe;
    padding: 2rem;
    border-radius: 12px;
}

.cert-item ul {
    list-style: none;
    padding: 0;
}

.cert-item li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e6f7f7;
    position: relative;
    padding-left: 1.5rem;
}

.cert-item li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2d6a6a;
    font-weight: bold;
}

/* Sidebar Styles */
.content-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: #f8fffe;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #2d6a6a;
}

.sidebar-widget h4 {
    color: #1a4a4a;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.fact-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.fact-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e6f7f7;
}

.fact-label {
    color: #666;
    font-weight: 500;
}

.fact-value {
    color: #1a4a4a;
    font-weight: 600;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item i {
    color: #2d6a6a;
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.contact-item p {
    margin: 0;
    color: #666;
    line-height: 1.4;
}

/* Service Page Styles */
.service-hero {
    background: linear-gradient(135deg, #1a4a4a, #2d6a6a);
    color: white;
    padding: 120px 0 80px;
}

.service-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.service-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.service-hero p {
    font-size: 1.2rem;
    line-height: 1.6;
    opacity: 0.9;
}

.service-features {
    background: white;
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: #f8fffe;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1a4a4a, #2d6a6a);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

/* Statutory Audit page specific enhancements */
.expertise-list,
.audit-experience,
.standards-list,
.qualifications-list,
.quality-features {
    list-style: none;
    padding: 0;
    margin: 1rem 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 0.75rem 1.25rem;
}

.expertise-list li,
.audit-experience li,
.standards-list li,
.qualifications-list li,
.quality-features li {
    position: relative;
    padding: 0.75rem 1rem 0.75rem 1.75rem;
    border: 1px solid #e6f7f7;
    border-radius: 10px;
    background: #ffffff;
    color: #555;
}

.expertise-list li::before,
.audit-experience li::before,
.standards-list li::before,
.qualifications-list li::before,
.quality-features li::before {
    content: '✓';
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #2d6a6a;
    font-weight: bold;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    margin: 1.5rem 0 2rem 0;
}

.process-step {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    border-left: 4px solid #2d6a6a;
    padding: 1.25rem 1.25rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.process-step:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}

.process-step h5 {
    color: #1a4a4a;
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}

.process-step p {
    color: #666;
    margin: 0;
}

/* Responsive Design for New Pages */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .certifications {
        grid-template-columns: 1fr;
    }
    
    .service-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .service-hero h1 {
        font-size: 2.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .content-main h2 {
        font-size: 2rem;
    }
    
    .content-main h3 {
        font-size: 1.5rem;
    }
    
    .service-hero h1 {
        font-size: 2rem;
    }
}


/* Approach Steps */
.approach-steps {
    margin: 3rem 0;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: #f8fffe;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.step-item:hover {
    transform: translateX(10px);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1a4a4a, #2d6a6a);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    color: #1a4a4a;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: #666;
    margin: 0;
}

/* Quality Features */
.quality-features {
    margin: 3rem 0;
}

.quality-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8fffe;
    border-radius: 12px;
}

.quality-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1a4a4a, #2d6a6a);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.quality-content h4 {
    color: #1a4a4a;
    margin-bottom: 0.5rem;
}

.quality-content p {
    color: #666;
    margin: 0;
}

/* Technology Grid */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.tech-item {
    background: #f8fffe;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border-left: 4px solid #2d6a6a;
}

.tech-item h4 {
    color: #1a4a4a;
    margin-bottom: 1rem;
}

.tech-item p {
    color: #666;
    margin: 0;
}

/* Principles List */
.principles-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.principle-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: white;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.principle-item:hover {
    background: #e6f7f7;
}

.principle-item i {
    color: #2d6a6a;
    font-size: 1.2rem;
}

.principle-item span {
    color: #1a4a4a;
    font-weight: 500;
}

/* Benefits List */
.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e6f7f7;
    position: relative;
    padding-left: 1.5rem;
    color: #666;
}

.benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2d6a6a;
    font-weight: bold;
}

/* Team Page Styles */
.team-hero {
    background: linear-gradient(135deg, #1a4a4a, #2d6a6a);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.team-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.team-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.team-content {
    padding: 80px 0;
    background: white;
}

.team-member-detail {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
    transition: transform 0.3s ease;
}

.team-member-detail:hover {
    transform: translateY(-5px);
}

.member-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.member-photo-large {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #1a4a4a, #2d6a6a);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 3rem;
    flex-shrink: 0;
}

.member-basic-info h3 {
    font-size: 1.8rem;
    color: #1a4a4a;
    margin-bottom: 0.5rem;
}

.member-position {
    color: #2d6a6a;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.member-qualifications-large {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.qualification-large {
    background: linear-gradient(135deg, #e6f7f7, #f8fffe);
    color: #1a4a4a;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.member-details h4 {
    color: #1a4a4a;
    margin: 1.5rem 0 1rem 0;
}

.member-details p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.member-details ul {
    list-style: none;
    padding: 0;
}

.member-details li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    color: #666;
}

.member-details li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #2d6a6a;
    font-weight: bold;
}

/* Responsive Design for New Elements */
@media (max-width: 768px) {
    .step-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .quality-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .member-header {
        flex-direction: column;
        text-align: center;
    }
    
    .team-hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .quality-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    /*member photo large*/
    .member-photo-large {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }
    
    .team-hero h1 {
        font-size: 2rem;
    }
}
/* Member Photo Styles */
.team-member.clickable { cursor: pointer; }
.team-member-detail { scroll-margin-top: 120px; }
.member-photo {
    width: clamp(140px, 28vw, 220px);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem;
}

.member-image {
    width: 100%;
    height: auto;
    object-fit: cover; /* Ensures the image covers the space without distortion */
    display: block;
}

.member-photo-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

/* Responsive logo scaling to remain larger than company name on small screens */
@media (max-width: 768px) {
    .logo,
    .logo-img,
    .logo-icon {
        width: 64px;
        height: 64px;
    }
    .logo-icon {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .logo,
    .logo-img,
    .logo-icon {
        width: 56px;
        height: 56px;
    }
    .logo-icon {
        font-size: 24px;
    }
}

/* Team page: make member placards square on team.php */
.team-content .member-photo-large {
    border-radius: 0;
    overflow: hidden; /* clip overflow to preserve square shape */
}
.team-content .member-photo-large img {
    border-radius: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; /* show full image without cropping */
    display: block;
}
