.page-header {
    position: relative;
}

.page-header-inner {
    min-height: 300px;
    /* adjust as needed */
}

@media (max-width: 768px) {
    .page-header-inner {
        padding: 60px 20px;
    }

    .carousal-p {
        font-size: 22px;
    }
}

/* Philosophy Section Background */
.philosophy-section {
    background: #fdf8ee;
    padding: 80px 0;
}

/* Center container */
.philosophy-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

/* Gold line above title */
.gold-line {
    width: 60px;
    height: 3px;
    background: #b19777;
    margin: 0 auto 20px;
}

/* Main heading */
.philosophy-title {
    font-family: "Playfair Display", serif;
    font-size: 48px;
    font-weight: 600;
    color: #0a1d3b;
    margin-bottom: 15px;
}

/* Subtitle */
.philosophy-subtitle {
    color: #476085;
    font-size: 17px;
    margin-bottom: 40px;
}

/* Paragraph text */
.philosophy-text {
    color: #476085;
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Section Background */
.tridha-name-section {
    background: #07162e;
    padding: 100px 20px;
    color: #d4d9e3;
}

/* Center Container */
.tridha-container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

/* Main Title */
.tridha-title {
    font-family: "Playfair Display", serif;
    font-size: 48px;
    color: #ffffff;
    margin-bottom: 10px;
}

/* Subtitle */
.tridha-subtitle {
    color: #B1B3B5;
    font-size: 20px;
    margin-bottom: 40px;
}

/* Description */
.tridha-description {
    max-width: 750px;
    margin: 0 auto 12px;
    line-height: 1.7;
    font-size: 17px;
    color: #B1B3B5;
}

/* Features Row */
.tridha-features {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 60px;
}

/* Feature Box */
.feature-box {
    flex: 1;
    min-width: 280px;
    text-align: center;
}

/* Feature Icon */
.feature-icon {
    width: 90px;
    height: 90px;
    background: #0f213e;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 25px;
}

.feature-icon img {
    width: 38px;
    height: 38px;
    filter: brightness(0) saturate(100%) invert(72%) sepia(40%) saturate(600%) hue-rotate(10deg);
}

/* Feature Title */
.feature-title {
    font-family: "Playfair Display", serif;
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 15px;
}

/* Feature Text */
.feature-text {
    color: #B1B3B5;
    font-size: 17px;
    line-height: 1.7;
}

/* About Section Responsive Text Alignment */
.container-xxl {
    padding: 0 20px;
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* Tablet Devices (768px - 991px) */
@media (max-width: 991px) {

    /* About Section - Stack content vertically */
    .row.g-5.align-items-center {
        text-align: center;
    }

    .col-lg-6 {
        margin-bottom: 30px;
    }

    /* Ensure images are centered */
    .col-lg-6 img {
        margin: 0 auto;
        display: block;
    }

    /* Philosophy Section */
    .philosophy-section {
        padding: 60px 0;
    }

    .philosophy-container {
        padding: 0 30px;
    }

    .philosophy-title {
        font-size: 38px;
    }

    .philosophy-subtitle {
        font-size: 18px;
    }

    .philosophy-text {
        font-size: 16px;
    }

    /* Tridha Name Section */
    .tridha-name-section {
        padding: 70px 20px;
    }

    .tridha-title {
        font-size: 38px;
    }

    .tridha-subtitle {
        font-size: 18px;
    }

    .tridha-description {
        font-size: 16px;
    }

    .tridha-features {
        gap: 40px;
        justify-content: center;
    }

    .feature-box {
        min-width: 300px;
        max-width: 400px;
    }
}

/* Mobile Devices (576px - 767px) */
@media (max-width: 767px) {

    /* About Section */
    .container-xxl {
        padding: 0 15px;
    }

    .row.g-5 {
        text-align: center;
    }

    .text-heading {
        font-size: 32px;
    }

    .carousal-p {
        font-size: 15px;
        text-align: center;
    }

    /* Philosophy Section */
    .philosophy-section {
        padding: 50px 0;
    }

    .philosophy-container {
        padding: 0 20px;
    }

    .philosophy-title {
        font-size: 32px;
    }

    .philosophy-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .philosophy-text {
        font-size: 15px;
        text-align: center;
    }

    /* Tridha Name Section */
    .tridha-name-section {
        padding: 50px 15px;
    }

    .tridha-container {
        padding: 0 15px;
    }

    .tridha-title {
        font-size: 32px;
    }

    .tridha-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .tridha-description {
        font-size: 15px;
        text-align: center;
        margin-bottom: 10px;
    }

    .tridha-features {
        gap: 35px;
        margin-top: 40px;
    }

    .feature-box {
        min-width: 100%;
        text-align: center;
    }

    .feature-icon {
        width: 80px;
        height: 80px;
    }

    .feature-icon img {
        width: 34px;
        height: 34px;
    }

    .feature-title {
        font-size: 22px;
    }

    .feature-text {
        font-size: 15px;
    }
}

/* Extra Small Mobile Devices (max-width: 575px) */
@media (max-width: 575px) {
    .text-heading {
        font-size: 28px;
        text-align: center;
    }

    .carousal-p {
        font-size: 14px;
        text-align: center;
        line-height: 1.6;
    }

    .philosophy-title {
        font-size: 28px;
    }

    .philosophy-subtitle,
    .tridha-subtitle {
        font-size: 15px;
    }

    .philosophy-text,
    .tridha-description {
        font-size: 14px;
        text-align: center;
    }

    .tridha-title {
        font-size: 28px;
    }

    .feature-title {
        font-size: 20px;
    }

    .feature-text {
        font-size: 14px;
    }

    .gold-line {
        width: 50px;
        height: 2px;
    }
}

/* Large Desktop (min-width: 1200px) */
@media (min-width: 1200px) {

    /* About Section - Left align text on desktop */
    .col-lg-6:not(:first-child) {
        text-align: left;
    }

    .col-lg-6:not(:first-child) .text-heading,
    .col-lg-6:not(:first-child) .carousal-p {
        text-align: left;
    }
}
