:root {
    --primary-color: #c71e5d; /* Brand Pink/Magenta */
    --primary-dark: #a0174a;
    --dark-bg: #1e151a;
    --text-dark: #333333;
    --text-light: #666666;
    --light-bg: #fdfafb;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--text-dark);
}

.btn-outline-light {
    background-color: transparent;
    border-color: rgba(255,255,255,0.3);
    color: var(--white);
}

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* --- Header & Nav --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo h2 {
    color: var(--primary-color);
    font-weight: 800;
    line-height: 1;
    font-size: 1.5rem;
}

.logo small {
    font-size: 0.6rem;
    letter-spacing: 1px;
    color: var(--text-light);
}

nav ul {
    display: flex;
    gap: 25px;
}

nav ul li a {
    font-size: 0.9rem;
    font-weight: 500;
}

nav ul li a:hover, nav ul li a.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 5px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-phone {
    color: var(--primary-color);
    font-weight: 600;
}

/* Hamburger Menu (Cool Transitions) */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 1001; /* Stay above mobile menu */
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: all 0.4s ease-in-out;
    border-radius: 2px;
}

/* Hamburger Animation to 'X' */
.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: var(--primary-color);
}
.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}
.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: var(--primary-color);
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(to right, rgba(20,20,20,0.9) 0%, rgba(20,20,20,0.4) 100%), url('https://images.unsplash.com/photo-1560066984-138dadb4c035?auto=format&fit=crop&w=1920&q=80') center/cover;
    height: 80vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    color: var(--white);
}

.hero-content {
    max-width: 600px;
}

.subtitle {
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin: 15px 0;
}

.hero h1 span {
    color: var(--primary-color);
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #e0e0e0;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

/* --- Features Bar --- */
.features-bar {
    display: flex;
    justify-content: space-between;
    background-color: var(--light-bg);
    padding: 30px 5%;
    border-bottom: 1px solid #eee;
    flex-wrap: wrap;
    gap: 20px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature i {
    font-size: 2rem;
    color: var(--primary-color);
}

.feature h4 {
    font-size: 0.9rem;
}

.feature p {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* --- Courses Section --- */
.courses {
    padding: 80px 5%;
    text-align: center;
}

.section-header {
    margin-bottom: 50px;
}

.subtitle-small {
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.section-header h2 {
    font-size: 2.2rem;
    margin-top: 10px;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.course-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-align: left;
    transition: var(--transition);
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.course-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.course-info {
    padding: 20px;
}

.course-info h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.course-info p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.learn-more {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.85rem;
}

/* --- Why Choose Us --- */
.why-choose-us {
    display: flex;
    background-color: var(--light-bg);
    padding: 80px 5%;
    gap: 50px;
    align-items: center;
}

.wcu-content {
    flex: 1;
}

.wcu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.wcu-item {
    text-align: center;
}

.wcu-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.wcu-image {
    flex: 1;
}

.wcu-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* --- Stats Section --- */
.stats {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 50px 5%;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-item i {
    font-size: 3rem;
    opacity: 0.8;
}

.stat-item h3 {
    font-size: 2.5rem;
    line-height: 1;
}

/* --- Footer CTA --- */
.footer-cta {
    background: var(--dark-bg);
    padding: 60px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--white);
    flex-wrap: wrap;
    gap: 20px;
}

/* --- Footer --- */
footer {
    background-color: #111;
    color: #ccc;
    padding: 60px 5% 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.white-logo h2 { color: var(--white); }

footer h4 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    border: 1px solid #555;
    border-radius: 50%;
    margin-right: 10px;
}

.social-icons a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
}

/* --- WhatsApp Float --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 100;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* =========================================
   Responsive Design & Mobile Menu 
   ========================================= */

@media (max-width: 992px) {
    .why-choose-us {
        flex-direction: column;
    }
    .hero h1 {
        font-size: 2.8rem;
    }
    .wcu-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex; /* Show hamburger */
    }

    /* Mobile Navigation sliding in from the right */
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--white);
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        z-index: 1000;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    nav ul li a {
        font-size: 1.2rem;
    }

    /* Hide desktop items */
    .header-right .contact-phone, 
    .header-right .btn {
        display: none;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .footer-cta {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

/* =========================================
   About Us Page Styles 
   ========================================= */

/* Page Header */
.page-header {
    background: linear-gradient(rgba(20, 20, 20, 0.8), rgba(20, 20, 20, 0.8)), url('https://images.unsplash.com/photo-1521590832167-7bfc17484d87?auto=format&fit=crop&w=1920&q=80') center/cover;
    height: 40vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.page-header p a {
    color: var(--white);
    transition: var(--transition);
}

.page-header p a:hover {
    color: var(--primary-color);
}

/* Mission & Vision */
.mission-vision {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 80px 5%;
    background-color: var(--light-bg);
}

.mv-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-bottom: 4px solid var(--primary-color);
    transition: var(--transition);
}

.mv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.mv-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.mv-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.mv-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Our Story Section */
.our-story {
    display: flex;
    padding: 80px 5%;
    gap: 50px;
    align-items: center;
}

.story-image {
    flex: 1;
}

.story-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 15px 15px 0px var(--primary-color);
}

.story-text {
    flex: 1;
}

.story-text h2 {
    font-size: 2.2rem;
    margin: 10px 0 20px;
}

.story-text p {
    margin-bottom: 15px;
    color: var(--text-light);
}

/* Team Section */
.team {
    padding: 80px 5%;
    background-color: var(--light-bg);
    text-align: center;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.team-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.team-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
}

.team-card:hover img {
    transform: scale(1.05);
}

.team-info {
    padding: 20px;
}

.team-info h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.team-info p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Responsive tweaks for About page */
@media (max-width: 992px) {
    .our-story {
        flex-direction: column;
    }
    .story-image img {
        box-shadow: 10px 10px 0px var(--primary-color);
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.2rem;
    }
}

/* =========================================
   Courses Page Styles
   ========================================= */

.courses-banner {
    background: linear-gradient(rgba(20, 20, 20, 0.85), rgba(20, 20, 20, 0.85)), url('https://images.unsplash.com/photo-1562322140-8baeececf3df?auto=format&fit=crop&w=1920&q=80') center/cover !important;
}

/* Catalog Filter Elements */
.course-catalog {
    padding: 60px 5% 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.catalog-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 2px solid #ddd;
    padding: 10px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

/* Detailed Course Layout Architecture */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.catalog-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.catalog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(199, 30, 93, 0.15);
}

.card-img-container {
    position: relative;
    height: 220px;
}

.card-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-img-container .badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
}

.catalog-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.course-cat-tag {
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

.catalog-info h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.catalog-info p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 20px;
    flex-grow: 1;
}

.course-meta {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 15px;
}

.course-meta i {
    color: var(--primary-color);
    margin-right: 5px;
}

.catalog-info hr {
    border: 0;
    border-top: 1px solid #f0f0f0;
    margin-bottom: 15px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-primary-sm {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8px 18px;
    font-size: 0.85rem;
    border-radius: 4px;
    font-weight: 600;
}

.btn-primary-sm:hover {
    background-color: var(--primary-dark);
}

.details-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
}

.details-link:hover {
    color: var(--primary-color);
}

/* Advisory Unit Placement styles */
.career-advisory {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #301c25 100%);
    padding: 80px 5%;
    text-align: center;
    color: var(--white);
}

.advisory-box {
    max-width: 700px;
    margin: 0 auto;
}

.advisory-box h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.advisory-box p {
    color: #ccc;
    margin-bottom: 30px;
}

/* Responsive Rules for Catalog */
@media(max-width: 768px) {
    .catalog-grid {
        grid-template-columns: 1fr;
    }
    .advisory-box h2 {
        font-size: 1.6rem;
    }
}

/* =========================================
   Admissions Page Styles
   ========================================= */

.admissions-banner {
    background: linear-gradient(rgba(20, 20, 20, 0.8), rgba(20, 20, 20, 0.8)), url('https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=1920&q=80') center/cover !important;
}

/* Overview Panel Grid */
.admissions-overview {
    display: flex;
    padding: 80px 5%;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: flex-start;
}

.steps-container {
    flex: 1.2;
}

.steps-container h2 {
    font-size: 2.2rem;
    margin: 10px 0 35px;
}

.steps-timeline {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.step-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-number {
    background: var(--primary-color);
    color: var(--white);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(199, 30, 93, 0.2);
}

.step-text h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.step-text p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Requirements Element */
.requirements-panel {
    flex: 0.8;
    position: sticky;
    top: 100px;
}

.requirements-box {
    background: var(--light-bg);
    border-left: 5px solid var(--primary-color);
    padding: 35px 30px;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.04);
}

.requirements-box h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.req-intro {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.requirements-box ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.requirements-box ul li {
    display: flex;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.4;
}

.requirements-box ul li i {
    color: var(--primary-color);
    font-size: 1rem;
    margin-top: 2px;
}

.help-callout {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e5d5da;
    display: flex;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.help-callout i {
    color: #4a90e2;
    font-size: 1.1rem;
}

/* Interactive Form Shell Wrapper */
.form-wrapper-section {
    background: #fdfafb;
    padding: 80px 5%;
}

.form-container-box {
    max-width: 850px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    padding: 50px;
}

.form-heading {
    text-align: center;
    margin-bottom: 40px;
}

.form-heading h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.form-heading p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.admissions-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: flex;
    gap: 25px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.full-width-group {
    flex: none;
    width: 100%;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input, 
.form-group select, 
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.9rem;
    font-family: inherit;
    color: var(--text-dark);
    background-color: var(--white);
    transition: var(--transition);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(199, 30, 93, 0.1);
}

.form-submit-area {
    text-align: center;
    margin-top: 15px;
}

.submit-enroll-btn {
    width: 100%;
    padding: 15px 30px;
    font-size: 1rem;
    letter-spacing: 0.5px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

/* Admissions Responsiveness Parameters */
@media (max-width: 992px) {
    .admissions-overview {
        flex-direction: column;
        align-items: stretch;
    }
    .requirements-panel {
        position: static;
    }
}

@media (max-width: 768px) {
    .form-container-box {
        padding: 30px 20px;
    }
    .form-row {
        flex-direction: column;
        gap: 25px;
    }
    .steps-container h2 {
        font-size: 1.6rem;
    }
}

/* =========================================
   Gallery Page Styles
   ========================================= */

.gallery-banner {
    background: linear-gradient(rgba(20, 20, 20, 0.75), rgba(20, 20, 20, 0.75)), url('https://images.unsplash.com/photo-1527799820374-dcf8d9d4a388?auto=format&fit=crop&w=1920&q=80') center/cover !important;
}

.gallery-section {
    padding: 80px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
    margin-bottom: 50px;
}

.gallery-intro {
    color: var(--text-light);
    max-width: 600px;
    margin: 15px auto 0;
    font-size: 0.95rem;
}

/* Gallery CSS Grid Layout */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

/* Individual Image Container */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 300px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Dynamic Hover Overlay */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(199, 30, 93, 0.85); /* Uses Brand Primary Color */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
    opacity: 0;
    transition: all 0.4s ease;
    padding: 20px;
    text-align: center;
}

.gallery-overlay i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    transform: translateY(-20px);
    transition: transform 0.4s ease;
}

.gallery-overlay h4 {
    font-size: 1.2rem;
    font-weight: 600;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

/* Hover Effects Trigger */
.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay i,
.gallery-item:hover .gallery-overlay h4 {
    transform: translateY(0);
}

/* Load More Button */
.gallery-load-more {
    text-align: center;
    margin-top: 50px;
}

.btn-outline-dark {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    background-color: transparent;
    border: 2px solid var(--text-dark);
    color: var(--text-dark);
}

.btn-outline-dark:hover {
    background-color: var(--text-dark);
    color: var(--white);
}

.btn-outline-dark i {
    margin-right: 8px;
}

/* Responsive Grid Adjustments */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 15px;
    }
    
    .gallery-item {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   Blog Page Styles
   ========================================= */

.blog-banner {
    background: linear-gradient(rgba(20, 20, 20, 0.8), rgba(20, 20, 20, 0.8)), url('https://images.unsplash.com/photo-1493424268953-f72ab13fb251?auto=format&fit=crop&w=1920&q=80') center/cover !important;
}

/* Blog Two-Column Layout */
.blog-layout {
    display: flex;
    padding: 80px 5%;
    max-width: 1300px;
    margin: 0 auto;
    gap: 50px;
    align-items: flex-start;
}

.blog-main-content {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.blog-sidebar {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 35px;
    position: sticky;
    top: 100px; /* Makes sidebar stick while scrolling */
}

/* --- Main Content: Blog Cards --- */
.blog-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
    transition: var(--transition);
}

.blog-card:hover {
    box-shadow: 0 10px 30px rgba(199, 30, 93, 0.1);
}

.blog-img {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-img img {
    transform: scale(1.05);
}

.blog-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
}

.blog-info {
    padding: 30px;
}

.blog-meta {
    display: flex;
    gap: 20px;
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.blog-meta i {
    color: var(--primary-color);
    margin-right: 5px;
}

.blog-info h2 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    line-height: 1.3;
}

.blog-info h2 a {
    color: var(--text-dark);
}

.blog-info h2 a:hover {
    color: var(--primary-color);
}

.blog-info p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.read-more-btn:hover {
    color: var(--primary-dark);
    gap: 12px; /* Smooth arrow slide effect */
}

/* Pagination */
.pagination {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.page-link {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-weight: 600;
    color: var(--text-dark);
}

.page-link.active, .page-link:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* --- Sidebar Widgets --- */
.sidebar-widget {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
}

.widget-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 10px;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
}

/* Search Widget */
.search-widget form {
    display: flex;
}

.search-widget input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    outline: none;
    font-family: inherit;
}

.search-widget button {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0 20px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: var(--transition);
}

.search-widget button:hover {
    background: var(--primary-dark);
}

/* Categories Widget */
.categories-widget ul li {
    margin-bottom: 12px;
    border-bottom: 1px dashed #ddd;
    padding-bottom: 12px;
}

.categories-widget ul li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.categories-widget ul li a {
    display: flex;
    justify-content: space-between;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.categories-widget ul li a:hover {
    color: var(--primary-color);
}

/* Recent Posts Widget */
.recent-post-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.recent-post-item:last-child {
    margin-bottom: 0;
}

.recent-post-item img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 4px;
}

.rp-info h5 {
    font-size: 0.9rem;
    line-height: 1.3;
    margin-bottom: 5px;
}

.rp-info h5 a {
    color: var(--text-dark);
}

.rp-info h5 a:hover {
    color: var(--primary-color);
}

.rp-info span {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Tags Widget */
.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tags-container a {
    background: var(--white);
    border: 1px solid #ddd;
    padding: 5px 12px;
    font-size: 0.8rem;
    border-radius: 30px;
    color: var(--text-light);
}

.tags-container a:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* Responsive adjustments for Blog */
@media (max-width: 992px) {
    .blog-layout {
        flex-direction: column;
    }
    
    .blog-sidebar {
        position: static; /* Disable sticky on tablet/mobile */
        width: 100%;
    }
}

@media (max-width: 768px) {
    .blog-img {
        height: 250px;
    }
    
    .blog-info h2 {
        font-size: 1.3rem;
    }
}

/* =========================================
   Contact Page Styles
   ========================================= */

.contact-banner {
    background: linear-gradient(rgba(20, 20, 20, 0.8), rgba(20, 20, 20, 0.8)), url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1920&q=80') center/cover !important;
}

/* Contact Info Cards */
.contact-info-section {
    padding: 80px 5% 40px;
    max-width: 1300px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.contact-card {
    background: var(--white);
    padding: 40px 20px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(199, 30, 93, 0.1);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: rgba(199, 30, 93, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.contact-card:hover .card-icon {
    background: var(--primary-color);
    color: var(--white);
}

.contact-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.contact-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Contact Form & Map Section */
.contact-form-section {
    padding: 40px 5% 80px;
    max-width: 1300px;
    margin: 0 auto;
}

.contact-container {
    display: flex;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.form-wrapper {
    flex: 1;
    padding: 50px;
}

.form-wrapper .section-header {
    margin-bottom: 30px;
}

.form-wrapper .section-header h2 {
    font-size: 2rem;
    margin: 10px 0;
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form .form-row {
    display: flex;
    gap: 20px;
}

.contact-form .form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.contact-form label {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s ease;
    background-color: #fafafa;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    background-color: var(--white);
}

.btn-block {
    width: 100%;
    justify-content: center;
    padding: 15px;
    font-size: 1.1rem;
    margin-top: 10px;
}

.btn-block i {
    margin-left: 8px;
}

/* Map Wrapper */
.map-wrapper {
    flex: 1;
    min-height: 100%;
}

.map-wrapper iframe {
    min-height: 500px;
    display: block;
}

/* Responsive adjustments for Contact Page */
@media (max-width: 992px) {
    .contact-container {
        flex-direction: column;
    }
    
    .map-wrapper iframe {
        height: 400px;
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .form-wrapper {
        padding: 30px 20px;
    }
    
    .contact-form .form-row {
        flex-direction: column;
        gap: 20px;
    }
}