/* Premium Design System for Dream Education Trust */

:root {
    --p-green-dark: #004733;
    --p-green-mid: #1c3d36;
    --p-red-accent: #d50100;
    --p-white: #ffffff;
    --p-grey-light: #f9f9f9;
    --p-font: 'Stack Sans Headline', sans-serif;
    --p-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --p-glass: rgba(255, 255, 255, 0.1);
    --p-glass-border: rgba(255, 255, 255, 0.2);
}

/* Global Enhancements */
body {
    font-family: var(--p-font);
    background-color: var(--p-grey-light);
    color: #333;
    -webkit-font-smoothing: antialiased;
}

/* Glassmorphism Header */
.main-header .header-sticky {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-header .header-sticky.active {
    background: #ffffff !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 10px 0;
}

.header-sticky.active .main-menu ul li a {
    color: var(--p-green-dark);
}

.header-sticky.active .main-menu ul li a:hover {
    color: var(--p-red-accent);
}

.header-sticky.active .header-phone a {
    color: var(--p-green-dark);
}

/* Hero Section Refinement */
.hero {
    position: relative;
    padding: 260px 0 150px;
    background-color: transparent !important;
    background-size: cover !important;
    background-position: center center !important;
}

.hero.dark-section {
    background-color: transparent !important;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 71, 51, 0.5) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 10px;
    letter-spacing: -1px;
    color: var(--p-white);
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.25rem;
    max-width: 600px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

/* Premium Buttons */
.btn-default {
    background: var(--p-red-accent) !important;
    border-radius: 50px !important;
    padding: 18px 45px !important;
    font-size: 18px !important;
    box-shadow: 0 10px 20px rgba(213, 1, 0, 0.3);
    transition: all 0.3s ease !important;
}

.btn-default:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(213, 1, 0, 0.4);
    background: #b50100 !important;
}

/* Red Badge / Experience Box */
.red-badge {
    background: var(--p-red-accent);
    color: white;
    padding: 20px 30px;
    border-radius: 15px;
    font-weight: 700;
    font-size: 1.5rem;
    box-shadow: 0 10px 30px rgba(213, 1, 0, 0.3);
}

/* Counters */
.counter-section {
    background: var(--p-green-dark) !important;
    border-radius: 0 0 50px 50px;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.counter-item h2 {
    font-size: 3rem;
    font-weight: 700;
}

/* Sections */
.about-u-heading {
    color: var(--p-green-dark) !important;
    font-size: 3.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 30px !important;
}

.section-sub-title {
    color: var(--p-red-accent) !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    font-size: 0.9rem;
}

/* Service Cards */
.service-item {
    border-radius: 20px !important;
    overflow: hidden;
    background: white;
    transition: all 0.4s ease;
    border: none !important;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--p-shadow);
}

.service-item-body h2 {
    color: var(--p-green-dark);
}

/* Footer Customization */
.main-footer {
    background-color: var(--p-green-dark) !important;
    background-image:
        radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.05) 1px, transparent 0);
    background-size: 40px 40px;
    padding-top: 100px !important;
    position: relative;
    overflow: hidden;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 71, 51, 0.8) 0%, rgba(0, 0, 0, 0.5) 100%);
    pointer-events: none;
}

.main-footer .container {
    position: relative;
    z-index: 1;
}

.footer-links h2,
.footer-links footer-location-info h2 {
    color: var(--p-white) !important;
    border-bottom: 2px solid var(--p-red-accent);
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 25px;
}

.footer-social-links h3 {
    color: var(--p-white) !important;
}

.footer-social-links i {
    background: var(--p-red-accent);
    padding: 10px;
    border-radius: 50%;
    color: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wow {
    animation-duration: 1.2s;
}

/* Global Icon Styling */
i[class^="fa-"],
i[class*=" fa-"],
.fas,
.fab,
.far,
.fa-solid,
.fa-brands,
.fa-regular {
    color: #000000;
    transition: color 0.3s ease;
}

i[class^="fa-"]:hover,
i[class*=" fa-"]:hover,
.fas:hover,
.fab:hover,
.far:hover,
.fa-solid:hover,
.fa-brands:hover,
.fa-regular:hover {
    color: #000000 !important;
}