/* Modern UI - Coral/Salmon Pink Theme */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* CSS Variables for Easy Theming */
:root {
    --primary-color: #FF6B6B;
    --primary-dark: #E85555;
    --primary-light: #FF8A8A;
    --secondary-color: #FF8C42;
    --accent-color: #FFB347;
    --bg-cream: #FFF5F0;
    --bg-peach: #FFEEE6;
    --bg-light: #FFF9F7;
    --text-dark: #2D3436;
    --text-gray: #636E72;
    --text-light: #B2BEC3;
    --white: #FFFFFF;
    --shadow-sm: 0 2px 10px rgba(255, 107, 107, 0.1);
    --shadow-md: 0 5px 25px rgba(255, 107, 107, 0.15);
    --shadow-lg: 0 15px 50px rgba(255, 107, 107, 0.2);
    --border-radius: 16px;
    --border-radius-lg: 24px;
}

/* Global Enhancements */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--white);
    overflow-x: hidden;
    line-height: 1.7;
    color: var(--text-dark);
}

/* Container Enhancements */
.container-xxl,
.container {
    max-width: 1320px;
    padding: 0 20px;
}

/* Section Spacing */
.container-xxl.py-5,
.container-fluid.py-5 {
    padding: 100px 0 !important;
}

/* Navbar Enhancements */
.navbar {
    background: var(--white) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    padding: 0 !important;
}

.navbar.sticky-top {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    font-weight: 700;
}

.navbar-brand span {
    color: var(--text-dark) !important;
    font-weight: 700;
}

.navbar-brand:hover span {
    color: var(--primary-color) !important;
}

.nav-link {
    position: relative;
    font-weight: 500;
    color: var(--text-dark) !important;
    transition: all 0.3s ease;
    padding: 25px 18px !important;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 50%;
}

/* Button Enhancements */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.35);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 0;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 107, 107, 0.45);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

/* Hero Carousel Enhancements */
.container-fluid.p-0.pb-5 {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-peach) 100%);
}

.header-carousel {
    border-radius: 0;
    overflow: hidden;
    position: relative;
}

.owl-carousel-item {
    position: relative;
    overflow: hidden;
    height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-peach) 100%);
}

.owl-carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.15) 0%, rgba(255, 140, 66, 0.1) 100%);
    z-index: 1;
}

.owl-carousel-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, rgba(255, 245, 240, 0.9) 0%, transparent 100%);
    z-index: 1;
}

.owl-carousel-item img {
    width: 100%;
    height: 650px;
    object-fit: cover;
    transition: transform 8s ease-out;
    filter: brightness(1);
    border-radius: 0;
}

.owl-carousel-item:hover img {
    transform: scale(1.05);
}

/* Carousel Content Styling */
.owl-carousel-item .position-absolute {
    z-index: 2;
}

.owl-carousel-item h1 {
    font-size: 3.5rem;
    font-weight: 800;
    text-shadow: 2px 2px 15px rgba(255, 107, 107, 0.3);
    letter-spacing: 2px;
    animation: slideInDown 1s ease-out;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .owl-carousel-item,
    .owl-carousel-item img {
        height: 450px;
    }
    
    .owl-carousel-item h1 {
        font-size: 2rem;
        letter-spacing: 1px;
    }
}

@media (max-width: 576px) {
    .owl-carousel-item,
    .owl-carousel-item img {
        height: 350px;
    }
    
    .owl-carousel-item h1 {
        font-size: 1.6rem;
    }
}

/* Modern Feature Cards */
.feature-item {
    padding: 35px 25px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    text-align: center;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-item .bg-light {
    width: 80px !important;
    height: 80px !important;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-peach) 100%) !important;
    border: none;
}

.feature-item .fa-2x {
    font-size: 2rem;
}

.feature-item h5 {
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 15px;
    font-size: 1.1rem;
}

/* Modern Service Cards */
.service-item {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    border: none;
    display: flex;
    flex-direction: column;
}

.service-item:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
}

.service-item .overflow-hidden {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    flex-shrink: 0;
}

.service-item .overflow-hidden img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.service-item:hover .overflow-hidden img {
    transform: scale(1.1);
}

.service-item .p-4 {
    padding: 25px 20px !important;
    background: var(--white);
    border: none !important;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-item h4 {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 0;
    text-align: center;
}

/* Remove old border styling */
.border-5,
.border-light,
.border-top-0 {
    border: none !important;
}

/* Fix for inline style override */
.service-item img[style*="height"] {
    height: 100% !important;
}

/* Icon Enhancements */
.bg-light {
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-peach) 100%) !important;
    box-shadow: 0 5px 20px rgba(255, 107, 107, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-item:hover .bg-light,
.d-flex:hover .bg-light {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(255, 107, 107, 0.25);
}

.fa-graduation-cap,
.fa-trophy,
.fa-palette,
.fa-lightbulb,
.fa-users,
.fa-check {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Modern Section Titles */
.section-title {
    margin-bottom: 50px;
    text-align: center;
}

.section-title h1,
.display-5 {
    position: relative;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-size: 2.5rem;
}

.section-title h1::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 2px;
    margin: 15px auto 0;
}

.section-title.text-start h1::after {
    margin-left: 0;
}

.section-title p {
    color: var(--text-gray);
    font-size: 1rem;
    margin-top: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section Enhancement */
.about,
.feature {
    background: var(--white);
    border-radius: 0;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.about-text,
.feature-text {
    background: var(--white);
    padding: 50px 40px !important;
}

.about-text .p-lg-5,
.feature-text .p-lg-5 {
    padding: 0 !important;
}

.about img,
.feature img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.position-relative.h-100 {
    border-radius: 0;
    overflow: hidden;
}

@media (max-width: 991px) {
    .position-relative.h-100 {
        border-radius: 0;
        min-height: 350px !important;
    }
    
    .about-text,
    .feature-text {
        padding: 35px 25px !important;
    }
}

/* Stats Counter Enhancement */
.text-primary {
    color: var(--primary-color) !important;
    font-weight: 700;
}

.d-flex.align-items-center {
    padding: 20px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.d-flex.align-items-center:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.d-flex .bg-white {
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-peach) 100%) !important;
    box-shadow: none;
    border-radius: 12px;
}

/* Card Hover Effects */
.wow {
    transition: all 0.3s ease;
}

.fadeIn:hover,
.fadeInUp:hover {
    transform: translateY(-8px);
}

/* Topbar Enhancement */
.container-fluid.bg-light {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
    padding: 10px 0 !important;
}

.container-fluid.bg-light small,
.container-fluid.bg-light .fa,
.container-fluid.bg-light .far {
    color: var(--white) !important;
    font-size: 0.85rem;
}

.btn-sm-square {
    background: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-sm-square:hover {
    background: rgba(255, 255, 255, 0.35) !important;
    transform: scale(1.1);
}

/* Image Enhancements */
img {
    transition: all 0.3s ease;
}

.position-relative:hover img {
    filter: brightness(1.05);
}

/* Dropdown Menu Enhancement */
.dropdown-menu {
    background: var(--white);
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    padding: 0.75rem 0;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    padding: 0.7rem 1.25rem;
    transition: all 0.3s ease;
    font-weight: 500;
    color: var(--text-dark);
}

.dropdown-item:hover {
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-peach) 100%);
    color: var(--primary-color);
    padding-left: 1.5rem;
}

/* Display Numbers Enhancement */
.display-1 {
    color: var(--bg-peach) !important;
    font-weight: 900;
    opacity: 0.6;
}

/* Responsive Enhancements */

/* Carousel Image Styles */
.carousel-img {
    width: 100%;
    height: 75vh;
    object-fit: cover;
}

/* Service Item Image Styles */
.service-img-wrapper {
    height: 250px;
    overflow: hidden;
}

.service-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-item:hover .service-img {
    transform: scale(1.05);
}

.service-item img {
    object-fit: cover;
}

/* Override inline styles for responsiveness */
@media (max-width: 991px) {
    /* Carousel */
    .carousel-img {
        height: 400px !important;
    }
    
    /* Service item images */
    .service-img-wrapper,
    .service-img {
        height: 200px !important;
    }
}

@media (max-width: 768px) {
    /* Carousel */
    .carousel-img {
        height: 300px !important;
    }
    
    /* Service item images */
    .service-img-wrapper,
    .service-img {
        height: 180px !important;
    }
}

@media (max-width: 576px) {
    /* Carousel */
    .carousel-img {
        height: 250px !important;
    }
    
    /* Service item images */
    .service-img-wrapper,
    .service-img {
        height: 150px !important;
    }
}

/* Tablet - 991px and below */
@media (max-width: 991px) {
    /* Container adjustments */
    .container-xxl,
    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
    }
    
    /* Section spacing */
    .py-5 {
        padding-top: 50px !important;
        padding-bottom: 50px !important;
    }
    
    /* Navbar */
    .navbar-brand span {
        font-size: 1.1rem !important;
    }
    
    .navbar-light .navbar-nav .nav-link {
        margin-right: 0 !important;
        padding: 10px 0 !important;
    }
    
    /* Prime feature cards */
    .prime-feature-card {
        margin-bottom: 20px;
    }
    
    .prime-feature-number {
        font-size: 3rem !important;
        top: 15px !important;
        right: 15px !important;
    }
    
    /* About section */
    .about-badge {
        padding: 20px !important;
        bottom: 20px !important;
        right: 20px !important;
    }
    
    .about-badge h3 {
        font-size: 1.8rem !important;
    }
    
    /* Section titles */
    .section-title h1,
    .display-5,
    h1.display-5 {
        font-size: 1.8rem !important;
    }
    
    /* Row gaps */
    .row.g-5 {
        --bs-gutter-x: 1.5rem !important;
        --bs-gutter-y: 1.5rem !important;
    }
    
    /* Footer wave */
    .footer-wave {
        top: -39px !important;
    }
    
    .footer-wave svg {
        height: 40px !important;
    }
    
    /* Service items */
    .service-item img,
    .service-item .overflow-hidden img {
        height: 200px !important;
    }
}

/* Mobile - 768px and below */
@media (max-width: 768px) {
    /* Navigation */
    .nav-link::after {
        display: none !important;
    }
    
    .navbar-collapse {
        background: var(--white) !important;
        padding: 20px !important;
        border-radius: 10px !important;
        margin-top: 10px !important;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1) !important;
    }
    
    .navbar-light .navbar-nav .nav-link {
        color: var(--text-dark) !important;
        border-bottom: 1px solid #eee !important;
    }
    
    /* Carousel */
    .header-carousel .owl-carousel-item,
    .owl-carousel-item,
    .header-carousel img,
    .owl-carousel-item img {
        height: 300px !important;
        min-height: 300px !important;
    }
    
    .owl-carousel-item h1 {
        font-size: 1.4rem !important;
    }
    
    /* Prime feature cards */
    .prime-feature-icon {
        width: 70px !important;
        height: 70px !important;
    }
    
    .prime-feature-icon i {
        font-size: 1.8rem !important;
    }
    
    .prime-feature-card {
        padding: 30px 20px !important;
    }
    
    .prime-feature-card h4 {
        font-size: 1rem !important;
        margin-top: 15px !important;
    }
    
    /* About section */
    .about-img-wrapper {
        margin-bottom: 30px !important;
    }
    
    .about-overlay {
        position: relative !important;
        bottom: auto !important;
        right: auto !important;
        margin-top: -50px !important;
        display: flex !important;
        justify-content: center !important;
    }
    
    .about-badge {
        position: relative !important;
        display: inline-block !important;
    }
    
    .about-stat-card {
        padding: 15px !important;
        flex-direction: column !important;
        text-align: center !important;
        gap: 10px !important;
    }
    
    .stat-icon {
        width: 50px !important;
        height: 50px !important;
    }
    
    .counter-number {
        font-size: 1.4rem !important;
    }
    
    /* Why choose us */
    .why-choose-img-wrapper {
        margin-bottom: 30px !important;
    }
    
    .why-choose-item {
        padding: 15px !important;
        margin-bottom: 15px !important;
        flex-direction: column !important;
        text-align: center !important;
    }
    
    .why-icon {
        width: 50px !important;
        height: 50px !important;
        margin-bottom: 10px !important;
    }
    
    .why-content h5 {
        font-size: 1rem !important;
    }
    
    /* Facilities */
    .facility-item {
        padding: 20px 10px !important;
    }
    
    .facility-icon {
        width: 60px !important;
        height: 60px !important;
    }
    
    .facility-icon i {
        font-size: 1.5rem !important;
    }
    
    .facility-item p {
        font-size: 0.8rem !important;
    }
    
    /* Principal message */
    .principal-profile-card {
        padding: 20px !important;
    }
    
    .principal-profile-card .col-lg-4,
    .principal-profile-card .col-lg-8 {
        text-align: center !important;
    }
    
    .principal-image-wrapper img {
        width: 120px !important;
        height: 120px !important;
    }
    
    .principal-message-content {
        padding: 15px 0 !important;
        margin-top: 20px !important;
    }
    
    .quote-icon {
        font-size: 1.5rem !important;
    }
    
    .principal-message-content p.lead {
        font-size: 1rem !important;
    }
    
    .principal-message-content p {
        font-size: 0.9rem !important;
    }
    
    /* Footer */
    .footer .col-lg-3,
    .footer .col-md-6 {
        margin-bottom: 30px !important;
    }
    
    .footer h4 {
        font-size: 1.1rem !important;
    }
    
    /* Buttons */
    .btn.py-3.px-5 {
        padding: 12px 25px !important;
        font-size: 0.9rem !important;
    }
    
    /* Section titles */
    .section-title h1,
    .display-5,
    h1.display-5 {
        font-size: 1.5rem !important;
    }
    
    .section-title .lead,
    p.lead {
        font-size: 0.95rem !important;
    }
}

/* Small Mobile - 576px and below */
@media (max-width: 576px) {
    /* Typography */
    .display-5,
    .section-title h1,
    h1.display-5 {
        font-size: 1.3rem !important;
    }
    
    /* Buttons */
    .btn {
        padding: 10px 18px !important;
        font-size: 0.85rem !important;
    }
    
    .btn.py-3.px-5 {
        padding: 10px 20px !important;
    }
    
    /* Carousel */
    .header-carousel .owl-carousel-item,
    .owl-carousel-item,
    .header-carousel img,
    .owl-carousel-item img {
        height: 250px !important;
        min-height: 250px !important;
    }
    
    .owl-carousel-item h1 {
        font-size: 1.1rem !important;
    }
    
    /* Prime features */
    .prime-feature-number {
        font-size: 2rem !important;
    }
    
    .prime-feature-card {
        padding: 25px 15px !important;
    }
    
    .prime-feature-icon {
        width: 60px !important;
        height: 60px !important;
    }
    
    /* About badge */
    .about-badge {
        padding: 15px !important;
    }
    
    .about-badge h3 {
        font-size: 1.3rem !important;
    }
    
    .about-badge i {
        font-size: 1.5rem !important;
    }
    
    /* Stats */
    .counter-number {
        font-size: 1.2rem !important;
    }
    
    .stat-icon {
        width: 45px !important;
        height: 45px !important;
    }
    
    /* Service cards */
    .service-item img,
    .service-item .overflow-hidden img {
        height: 180px !important;
    }
    
    /* Facilities grid */
    .facility-item {
        padding: 15px 8px !important;
    }
    
    .facility-icon {
        width: 50px !important;
        height: 50px !important;
    }
    
    .facility-icon i {
        font-size: 1.2rem !important;
    }
    
    .facility-item p {
        font-size: 0.75rem !important;
    }
    
    /* Principal */
    .principal-image-wrapper img {
        width: 100px !important;
        height: 100px !important;
    }
    
    .principal-profile-card h3 {
        font-size: 1.1rem !important;
    }
    
    /* Footer wave */
    .footer-wave {
        top: -24px !important;
    }
    
    .footer-wave svg {
        height: 25px !important;
    }
    
    /* Footer content */
    .footer h4 {
        font-size: 1rem !important;
    }
    
    .footer p,
    .footer .btn-link {
        font-size: 0.85rem !important;
    }
    
    /* Spacing fixes */
    .py-5 {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }
    
    .mb-5 {
        margin-bottom: 2rem !important;
    }
    
    .g-4,
    .g-5 {
        --bs-gutter-x: 1rem !important;
        --bs-gutter-y: 1rem !important;
    }
}

/* Contact Page Styles */
.contact-info-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all 0.4s ease;
    height: 100%;
}

.contact-info-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-peach) 100%);
    border-radius: 50%;
    transition: all 0.4s ease;
}

.contact-icon i {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-info-card:hover .contact-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: scale(1.1);
}

.contact-info-card:hover .contact-icon i {
    background: var(--white);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-info-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.contact-info-card p {
    color: var(--text-gray);
    margin-bottom: 0;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.contact-form-wrapper h2 {
    color: var(--text-dark);
    font-weight: 700;
}

.map-wrapper {
    height: 100%;
    min-height: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.support-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all 0.4s ease;
    height: 100%;
}

.support-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.support-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-peach) 100%);
    border-radius: 12px;
    transition: all 0.4s ease;
}

.support-icon i {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.support-card:hover .support-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: scale(1.1);
}

.support-card:hover .support-icon i {
    background: var(--white);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.support-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.support-card p {
    color: var(--text-gray);
    margin-bottom: 20px;
}

.office-hours-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    display: inline-block;
}

.office-hours-card i {
    color: var(--primary-color);
}

.office-hours-card h4 {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

/* About Page Styles */
.about-page-img-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.about-page-img-wrapper img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.about-page-img-wrapper:hover img {
    transform: scale(1.05);
}

.about-page-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
    animation: float 3s ease-in-out infinite;
}

.about-page-badge i {
    color: var(--white);
}

.about-page-badge h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
}

.about-page-badge p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.vision-mission-card {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.vision-mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.vision-mission-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.vm-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-peach) 100%);
    border-radius: 50%;
    transition: all 0.4s ease;
}

.vm-icon i {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.vision-mission-card:hover .vm-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: scale(1.1);
}

.vision-mission-card:hover .vm-icon i {
    background: var(--white);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.vision-mission-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.vision-mission-card p {
    color: var(--text-gray);
    line-height: 1.8;
}

.value-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all 0.4s ease;
    height: 100%;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-peach) 100%);
    border-radius: 12px;
    transition: all 0.4s ease;
}

.value-icon i {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.value-card:hover .value-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: scale(1.1);
}

.value-card:hover .value-icon i {
    background: var(--white);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.value-card h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.value-card p {
    color: var(--text-gray);
    margin-bottom: 0;
    font-size: 0.9rem;
}

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

/* Loading Animation Enhancement */
.spinner-grow {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
}

/* Border Enhancement */
.border-primary {
    border-color: var(--primary-color) !important;
}

.border-light {
    border-color: rgba(255, 107, 107, 0.1) !important;
}

/* Text Shadow for Headers */
h1, h2, h3, h4, h5 {
    text-shadow: none;
}

/* Footer Enhancement with Wave Curve */
.footer-wrapper {
    position: relative;
    margin-top: 0;
}

.footer-wave {
    position: absolute;
    top: -79px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
}

.footer-wave svg {
    position: relative;
    display: block;
    width: 100%;
    height: 80px;
}

.footer,
.container-fluid.bg-dark {
    background: linear-gradient(135deg, #2D3436 0%, #1a1a2e 100%) !important;
    position: relative;
}

.footer .btn-link,
.container-fluid.bg-dark .btn-link {
    color: rgba(255, 255, 255, 0.7) !important;
    transition: all 0.3s ease;
}

.footer .btn-link:hover,
.container-fluid.bg-dark .btn-link:hover {
    color: var(--primary-color) !important;
    padding-left: 10px;
}

.footer .btn-outline-light:hover,
.btn-social:hover {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.footer h4 {
    position: relative;
    padding-bottom: 15px;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 2px;
}

.btn-social {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.btn-social:hover {
    transform: translateY(-5px);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    margin-top: 30px;
}

/* Owl Carousel Controls Enhancement */
.owl-carousel .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    z-index: 10;
    pointer-events: none;
}

.owl-nav button {
    background: var(--white) !important;
    color: var(--primary-color) !important;
    border-radius: 50% !important;
    width: 50px !important;
    height: 50px !important;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 24px !important;
    line-height: 50px !important;
    position: absolute !important;
    pointer-events: all;
    border: 2px solid rgba(255, 107, 107, 0.2) !important;
}

.owl-nav button.owl-prev {
    left: 20px;
}

.owl-nav button.owl-next {
    right: 20px;
}

.owl-nav button:hover {
    background: var(--primary-color) !important;
    color: var(--white) !important;
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color) !important;
}

.owl-nav button span {
    font-weight: 700;
}

.owl-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 8px;
}

.owl-dot {
    width: 12px !important;
    height: 12px !important;
    background: rgba(255, 107, 107, 0.3) !important;
    border-radius: 50% !important;
    margin: 0 !important;
    transition: all 0.4s ease;
    border: none !important;
}

.owl-dot:hover {
    background: rgba(255, 107, 107, 0.5) !important;
    transform: scale(1.2);
}

.owl-dot.active {
    background: var(--primary-color) !important;
    width: 35px !important;
    border-radius: 10px !important;
}

@media (max-width: 768px) {
    .owl-nav button {
        width: 40px !important;
        height: 40px !important;
        font-size: 18px !important;
        line-height: 40px !important;
    }
    
    .owl-nav button.owl-prev {
        left: 10px;
    }
    
    .owl-nav button.owl-next {
        right: 10px;
    }
    
    .owl-dots {
        bottom: 15px;
    }
    
    .owl-dot {
        width: 8px !important;
        height: 8px !important;
    }
    
    .owl-dot.active {
        width: 25px !important;
    }
}

/* Add subtle animation to page load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container-xxl,
.container-fluid {
    animation: fadeInUp 0.6s ease;
}

/* Card Grid Improvements */
.row.g-4,
.row.g-5 {
    margin-left: -15px;
    margin-right: -15px;
}

.row.g-4 > *,
.row.g-5 > * {
    padding-left: 15px;
    padding-right: 15px;
}

/* Ensure equal height cards */
.col-md-6,
.col-lg-3,
.col-lg-4 {
    display: flex;
    flex-direction: column;
}

.col-md-6 > div,
.col-lg-3 > div,
.col-lg-4 > div {
    height: 100%;
}

/* Add glow effect on hover for important elements */
.btn-primary:hover,
.service-item:hover {
    box-shadow: 0 0 30px rgba(175, 37, 28, 0.3);
}

/* Background Sections */
.container-fluid.bg-light.overflow-hidden {
    background: #ffffff !important;
}

.container-fluid.overflow-hidden.my-5 {
    background: transparent !important;
}

/* Better spacing for sections */
.my-5 {
    margin-top: 80px !important;
    margin-bottom: 80px !important;
}

.pb-5 {
    padding-bottom: 80px !important;
}

/* Hero text styling */
.owl-carousel-item h1 {
    font-size: 3.5rem;
    font-weight: 900;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
}

@media (max-width: 768px) {
    .owl-carousel-item h1 {
        font-size: 2rem;
    }
    
    .section-title h1,
    .display-5 {
        font-size: 2rem;
    }
}

/* Improve text readability */
p {
    color: #555;
    line-height: 1.8;
}

/* Modern scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
}

/* Logo enhancement */
#logo {
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

#logo:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

/* Admission button enhancement */
.btn.py-4.px-lg-5 {
    border-radius: 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Back to Top Button */
.back-to-top {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
    border: none;
    box-shadow: var(--shadow-md);
}

.back-to-top:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%) !important;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Testimonial Section */
.testimonial-item {
    background: var(--white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.testimonial-item:hover {
    box-shadow: var(--shadow-md);
}

.testimonial-text {
    background: var(--bg-light) !important;
    border-radius: 8px;
}

.testimonial-item img {
    border-radius: 50%;
    border: 3px solid var(--primary-light) !important;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
    padding: 80px 0 !important;
}

.page-header h1 {
    color: var(--white) !important;
    font-weight: 700;
}

.page-header .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8) !important;
}

.page-header .breadcrumb-item.active {
    color: var(--white) !important;
}

/* Card Enhancements */
.card {
    border: none;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.card-header.bg-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
    border: none;
    padding: 15px 20px;
    font-weight: 600;
}

.card-body {
    padding: 25px;
}

/* Form Controls */
.form-control {
    border: 2px solid #eee;
    border-radius: 10px;
    padding: 12px 16px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.15);
}

/* Facilities Section */
.facility-item {
    padding: 30px 15px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    cursor: pointer;
}

.facility-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.facility-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-peach) 100%);
    border-radius: 50%;
    transition: all 0.4s ease;
}

.facility-item:hover .facility-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.facility-icon i {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.4s ease;
}

.facility-item:hover .facility-icon i {
    background: var(--white);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: scale(1.1);
}

.facility-item p {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
}

.facility-item:hover p {
    color: var(--primary-color);
}

/* Competency Cards */
.competency-card {
    background: var(--white);
    border-radius: 12px;
    padding: 35px 25px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    height: 100%;
}

.competency-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.competency-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-peach) 100%);
    border-radius: 50%;
    transition: all 0.4s ease;
}

.competency-card:hover .competency-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: scale(1.1);
}

.competency-icon i {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.competency-card:hover .competency-icon i {
    background: var(--white);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.competency-card h5 {
    color: var(--text-dark);
    font-weight: 600;
}

.competency-card:hover h5 {
    color: var(--primary-color);
}

/* Prime Feature Cards */
.prime-feature-card {
    background: var(--white);
    border-radius: 16px;
    padding: 40px 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.prime-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.prime-feature-card:hover::before {
    transform: scaleX(1);
}

.prime-feature-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.2);
}

.prime-feature-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 4rem;
    font-weight: 900;
    color: var(--bg-peach);
    opacity: 0.3;
    line-height: 1;
    transition: all 0.4s ease;
}

.prime-feature-card:hover .prime-feature-number {
    opacity: 0.5;
    transform: scale(1.1);
    color: var(--primary-light);
}

.prime-feature-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-peach) 100%);
    border-radius: 50%;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.prime-feature-card:hover .prime-feature-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: scale(1.1) rotate(5deg);
}

.prime-feature-icon i {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.4s ease;
}

.prime-feature-card:hover .prime-feature-icon i {
    background: var(--white);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: scale(1.05);
}

.prime-feature-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.prime-feature-card:hover h4 {
    color: var(--primary-color);
}

.prime-feature-card p {
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* About Us Section */
.about-img-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.about-img-wrapper img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.about-img-wrapper:hover img {
    transform: scale(1.05);
}

.about-overlay {
    position: absolute;
    bottom: 30px;
    right: 30px;
    z-index: 2;
}

.about-badge {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.about-badge i {
    color: var(--white);
}

.about-badge h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
}

.about-badge p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.title-underline {
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 2px;
}

.about-stat-card {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.about-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-peach) 100%);
    border-radius: 50%;
    flex-shrink: 0;
}

.stat-icon i {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-stat-card:hover .stat-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.about-stat-card:hover .stat-icon i {
    background: var(--white);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.counter-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-content p {
    color: var(--text-gray);
    font-weight: 500;
}

/* Why Choose Us Section */
.why-choose-img-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.why-choose-img-wrapper img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.why-choose-img-wrapper:hover img {
    transform: scale(1.05);
}

.why-choose-pattern {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    opacity: 0.1;
    border-radius: 50%;
    z-index: 1;
}

.why-choose-item {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: all 0.4s ease;
    border-left: 4px solid transparent;
}

.why-choose-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--primary-color);
}

.why-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-peach) 100%);
    border-radius: 12px;
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.why-icon i {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.why-choose-item:hover .why-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: scale(1.1);
}

.why-choose-item:hover .why-icon i {
    background: var(--white);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.why-content h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.why-choose-item:hover .why-content h5 {
    color: var(--primary-color);
}

.why-content p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Additional Image Fixes */
.img-fluid {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Ensure all images in service items are properly sized */
.service-item img,
.service-item .img-fluid {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center !important;
}

/* Fix for about and feature section images */
.about .position-relative img,
.feature .position-relative img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Ensure proper image rendering */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Fix any potential image container issues */
.col-lg-6.ps-lg-0,
.col-lg-6.pe-lg-0 {
    padding: 0;
}

.position-relative {
    position: relative;
}

.position-relative img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Principal Image Styling */
.principal-img-enhanced {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 16px; /* Slightly rounded corners */
    box-shadow: 0 10px 25px rgba(0,0,0,0.15); /* Nice shadow depth */
    border: 4px solid var(--white); /* White border frame */
    transition: all 0.3s ease;
}

.principal-img-enhanced:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(255, 107, 107, 0.25); /* Colored shadow on hover */
    border-color: var(--primary-light);
}
