* {
    box-sizing: border-box;
    margin: 0px;
    overscroll-behavior: none;
    padding: 0px;
    /* Font family handled by fonts.css */
}

.header {
    background: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background 0.3s ease;
}

.imgggg {
    transform: scale(1.9);
    border-radius: 15px;
    margin-right: 220px;
}

.header.scrolled {
    background: white;
}

.navbar-brand img {
    max-height: 50px;
    transition: transform 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.1);
}

.nav-link {
    color: black !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #FFD700 !important;
}

.dropdown-menu {
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.3s ease;
}

.dropdown-item {
    transition: background 0.3s ease;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.social-icons .btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.social-icons .btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991.98px) {
    .navbar-toggler {
        display: block !important;
        border: none !important;
        padding: 6px 8px !important;
    }

    .navbar-toggler:focus {
        box-shadow: none !important;
    }

    .navbar-collapse {
        background: rgba(0, 0, 0, 0.664);
        border-radius: 10px;
        padding: 20px;
    }
}

/* Removed conflicting mobile toggle styles - using inline styles from blog.html instead */

/* Additional styles for the header */
.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-item {
    position: relative;
    color: #090b0c;
}

.social-icons {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.nav-item::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: blue;
    left: 50%;
    bottom: -5px;
    transition: width 0.3s ease, left 0.3s ease;
}

.nav-item:hover::after {
    width: 100%;
    left: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .social-icons {
        margin-top: 15px;
        gap: 10px;
    }

    .navbar ul.lists {
        display: none;
        position: relative;
        top: 2px;
        left: -30%;
        width: 100%;
        color: blue;
        background: rgba(0, 0, 0, 0.555);

        padding: 20px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 1049;
        transition: transform 0.3s ease;
    }

    .nav-link {
        color: wheat;
    }

    .navbar ul li a {
        color: white;
    }

    .imgggg {
        position: relative;
        transform: scale(1.2);

    }
}

@media(max-width: 480px) {
    html body {
        overflow-x: hidden;
        width: 100%;
    }

    footer {
        height: 800px;
        font-size: 16px;
    }

    .navbar ul.lists {
        left: -120%;
        top: 50px;
    }

    /* Ensure mobile toggle is functional for 480px screens */
    .navbar-toggler {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        touch-action: manipulation !important;
        position: relative !important;
        z-index: 9999 !important;
        border: 1px solid rgba(0, 0, 0, 0.1) !important;
        padding: 8px !important;
        margin-left: auto !important;
    }

    .navbar-toggler-icon {
        display: block !important;
        width: 20px !important;
        height: 20px !important;
    }
}

/* 360px specific mobile toggle fixes */
@media(max-width: 360px) {
    html body {
        overflow-x: hidden;
        width: 100%;
    }

    /* Ensure mobile toggle is functional for 360px screens */
    .navbar-toggler {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        touch-action: manipulation !important;
        position: relative !important;
        z-index: 9999 !important;
        border: 1px solid rgba(0, 0, 0, 0.1) !important;
        padding: 6px !important;
        margin-left: auto !important;
        width: 40px !important;
        height: 35px !important;
    }

    .navbar-toggler-icon {
        display: block !important;
        width: 18px !important;
        height: 18px !important;
    }

    /* Prevent navbar overflow */
    .navbar {
        padding-right: 50px !important;
    }

    .navbar-brand {
        max-width: calc(100% - 50px) !important;
    }
}

/* Additional animations for dropdowns */
.dropdown-menu.show {
    animation: slideDown 0.3s ease;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

ul.categories li {
    height: 40px;
    line-height: 40px;
}


footer .list-unstyled a {
    color: #FFD700;
    /* Gold color for links */
    text-decoration: none;
    font-weight: bold;
}

footer .list-unstyled a:hover {
    text-decoration: underline;
    /* Underline on hover for better UX */
}

/* Style for social media icons */
footer .d-flex a {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

footer .d-flex a:hover {
    transform: scale(1.2);
    /* Slight zoom on hover */
}

footer .fa-instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

footer .fa-facebook {
    color: #1877F2;
    /* Facebook blue */
}

footer .fa-whatsapp {
    color: #25D366;
}

footer .primary h2,
footer h3 {
    color: #FFD700;
    font-weight: bold;
}


.about h2 {
    margin-top: 20px;
    margin-bottom: 20px;
}

.about p {
    /* font-family: "Playwrite IT Moderna", serif; - handled by fonts.css */
}



/* @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap'); - handled by fonts.css */
body {
    /* font-family: 'Montserrat', sans-serif; - handled by fonts.css */
    background-color: #f7f7f7;
    color: #333;
    background-image: url(imgg/COAST.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    margin: 0;
}

main {
    flex: 1;
}

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

.blog-header {
    text-align: center;
    margin-bottom: 40px;
}

.blog-header h1 {
    font-size: 3rem;
    color: #FF6B35;
}

.blog-card:hover {
    transform: translateY(-10px);
}

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

.blog-card h4 {
    font-size: 1.5rem;
    margin: 20px;
    color: #FF6B35;
}

.blog-card p {
    margin: 0 20px 20px;
    color: #666;
}

.blog-card button {
    display: block;
    width: 80%;
    margin: 0 auto 20px;
    padding: 10px;
    background-color: #FF6B35;
    color: #fff;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.blog-card button:hover {
    background-color: #e65a2e;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 10px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.featured-posts {
    margin: 40px 0;
}

.featured-posts h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #FF6B35;
}

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

.featured-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.featured-card:hover {
    transform: translateY(-10px);
}

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

.featured-card h3 {
    font-size: 1.5rem;
    margin: 20px;
    color: #FF6B35;
}

.featured-card p {
    margin: 0 20px 20px;
    color: #666;
}


.featured-card button {
    display: block;
    width: 80%;
    margin: 0 auto 20px;
    padding: 10px;
    background-color: #FF6B35;
    color: #fff;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.featured-card button:hover {
    background-color: #e65a2e;
}

/* Existing styles remain unchanged */

/* Improved featured post card styles */
.featured-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.featured-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.featured-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.featured-card h3 {
    font-size: 1.5rem;
    margin: 20px 20px 10px;
    color: #FF6B35;
}

.featured-card .card-content {
    padding: 0 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.featured-card p {
    margin: 0 0 20px;
    color: #666;
    overflow: hidden;
    position: relative;
    max-height: 100px;
    transition: max-height 0.3s ease;
}

.featured-card p.expanded {
    max-height: 1000px;
}

.featured-card .fade-out {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(transparent, white);
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.featured-card p.expanded+.fade-out {
    opacity: 0;
}

.featured-card button {
    align-self: center;
    width: 80%;
    margin: 0 auto 20px;
    padding: 10px;
    background-color: #FF6B35;
    color: #fff;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    outline: none;
    position: relative;
    overflow: hidden;
}

.featured-card button:hover {
    background-color: #e65a2e;
    transform: translateY(-2px);
}

.featured-card button:active {
    transform: translateY(0);
}

/* Responsive design for featured cards */
@media (max-width: 768px) {
    .featured-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }
}


/* Empty state styling */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.empty-state h3 {
    color: #FF6B35;
    margin-bottom: 15px;
}

.empty-state p {
    color: #666;
}

/* Modal improvements */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    opacity: 1;
}


.modal.show .modal-content {
    transform: scale(1);
}

.modal-content h4 {
    color: #FF6B35;
    font-size: 2rem;
    margin-bottom: 20px;
}

.modal-content img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    transition: color 0.3s ease;
    z-index: 1;
}

.close:hover,
.close:focus {
    color: #FF6B35;
    text-decoration: none;
    cursor: pointer;
}

/* Improved Blog Card Styling */
.blog-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    border: none;
}

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

.blog-card .image-container {
    position: relative;
    overflow: hidden;
    height: 240px;
}

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

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

.blog-card .card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-card h4 {
    font-size: 1.3rem;
    margin: 0 0 15px;
    color: #333;
    font-weight: 600;
}

.blog-card p {
    margin: 0 0 20px;
    color: #666;
    line-height: 1.6;
    flex-grow: 1;
}

/* Modern Button Styling */
.blog-card .read-more-btn {
    align-self: flex-start;
    padding: 8px 18px;
    background: linear-gradient(135deg, #3f87a6, #4a6d8c);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.blog-card .read-more-btn:hover {
    background: linear-gradient(135deg, #4a6d8c, #3f87a6);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.blog-card .read-more-btn:active {
    transform: translateY(0);
}

/* Creative Featured Posts Styling */
.featured-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    border: none;
}

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

.featured-card .image-container {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.featured-card .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.featured-card:hover .image-container img {
    transform: scale(1.08);
}

.featured-card .card-content {
    padding: 25px;
}

.featured-card h3 {
    font-size: 1.6rem;
    margin: 0 0 15px;
    color: #333;
    font-weight: 600;
    transition: color 0.3s ease;
}

.featured-card:hover h3 {
    color: #3f87a6;
}

.featured-card .content-wrapper {
    position: relative;
    overflow: hidden;
}

.featured-card .feature-text {
    margin: 0;
    color: #555;
    line-height: 1.7;
    height: 105px;
    overflow: hidden;
    transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.featured-card .feature-text.expanded {
    height: auto;
   // max-height: 1000px;
}

.featured-card .read-more-container {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

/* Modern Read More Toggle */
.featured-card .read-more-toggle {
    background: none;
    border: none;
    color: #3f87a6;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.featured-card .read-more-toggle:hover {
    background: rgba(63, 135, 166, 0.1);
}

.featured-card .read-more-toggle:focus {
    outline: none;
}

.featured-card .read-more-toggle i {
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

.featured-card .read-more-toggle.expanded i {
    transform: rotate(180deg);
}

.featured-card .gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(transparent, white);
    opacity: 1;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.featured-card .feature-text.expanded~.gradient-overlay {
    opacity: 0;
}

/* Empty state styling */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.empty-state h3 {
    color: #3f87a6;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.empty-state p {
    color: #666;
    font-size: 1.1rem;
}

.empty-state .illustration {
    max-width: 200px;
    margin: 0 auto 20px;
    opacity: 0.8;
}


:root {
    /* Color palette */
    --primary: #f3ac12;
    /* Golden yellow primary color */
    --secondary: #cac036;
    /* Muted yellow-green for secondary elements */
    --accent: #e4c1f9;
    /* Soft lavender for accents */
    --highlight: #a36f2b;
    /* Brown for highlights */
    --background: #f8f9fa;
    /* Very light gray for backgrounds */
    --text-dark: #343a40;
    /* Dark gray for text */
    --text-light: #6c757d;
    /* Medium gray for secondary text */
    --border: #dee2e6;
    /* Light gray for borders */
    --shadow: rgba(0, 0, 0, 0.05);
    /* Subtle shadow */
    --cream: #f9f7f3;
    /* Off-white */
}

* {
    box-sizing: border-box;
    margin: 0px;
    overscroll-behavior: none;
    padding: 0px;
    font-family: "Montserrat", serif;
}

/* Header and Navigation */
header {
    height: 140px;
    padding: 0px 15px;
    padding-left: 50px;
    display: flex;
    gap: 35px;
    background-color: white;
    padding-top: 10px;
    box-shadow: 0 2px 10px var(--shadow);
    position: relative;
    z-index: 1000;
}

.header.scrolled {
    height: 80px;
    transition: height 0.3s ease;
}

.imgggg {
    height: 80px;
    width: auto;
}

.imgggg img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

/* Removed duplicate mobile toggle styles - using inline styles from blog.html instead */

/* Enhanced Mobile Menu Styles */
.navbar-collapse {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced Navigation Links */
.navbar-nav .nav-link {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1.1rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--primary);
    background-color: rgba(243, 172, 18, 0.1);
    transform: translateY(-2px);
}

.navbar-nav .nav-link.active {
    color: var(--primary);
    font-weight: 600;
    background-color: rgba(243, 172, 18, 0.15);
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background-color: var(--highlight);
    border-radius: 2px;
}

/* Enhanced Dropdown Menu */
.dropdown-menu {
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 16px;
    padding: 1rem 0;
    margin-top: 0.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    backdrop-filter: blur(10px);
    animation: dropdownSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 220px;
    border: 1px solid rgba(243, 172, 18, 0.2);
}

@keyframes dropdownSlideIn {
    from {
        opacity: 0;
        transform: translateY(-15px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.dropdown-item {
    padding: 0.875rem 1.5rem;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 0.25rem 0.5rem;
    position: relative;
    overflow: hidden;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(243, 172, 18, 0.1), transparent);
    transition: left 0.5s ease;
}

.dropdown-item:hover::before {
    left: 100%;
}

.dropdown-item:hover {
    background-color: rgba(243, 172, 18, 0.1);
    color: var(--primary);
    transform: translateX(8px);
    box-shadow: 0 4px 12px rgba(243, 172, 18, 0.2);
}

.dropdown-item:active {
    background-color: rgba(243, 172, 18, 0.2);
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 0.5rem;
}

.social-icons .btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border);
    background-color: white;
    transition: all 0.3s ease;
}

.social-icons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
}

/* Enhanced dropdown arrow animation */
.dropdown-toggle::after {
    transition: transform 0.3s ease;
}

.dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

/* Loading animation for dropdown */
.dropdown-menu.show {
    animation: dropdownSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced focus states for accessibility */
.navbar-nav .nav-link:focus,
.dropdown-item:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    background-color: rgba(243, 172, 18, 0.1);
}

/* Mobile Responsive Styles */
@media (max-width: 991.98px) {
    .navbar-toggler {
        display: block;
    }

    header {
        padding-left: 20px;
        height: 80px;
        align-items: center;
    }

    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 20px 20px;
        padding: 2rem;
        margin: 0;
        transform: translateY(-20px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(243, 172, 18, 0.1);
    }

    .navbar-collapse.show {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .navbar-nav {
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 2rem;
    }

    .navbar-nav .nav-link {
        padding: 1.25rem 1.5rem;
        border-radius: 12px;
        text-align: center;
        border: 2px solid rgba(243, 172, 18, 0.2);
        margin-bottom: 0.5rem;
        background: linear-gradient(135deg, #ffffff 0%, rgba(243, 172, 18, 0.05) 100%);
        font-weight: 600;
        transition: all 0.3s ease;
    }

    .navbar-nav .nav-link:hover {
        border-color: var(--primary);
        transform: translateX(8px);
        background: linear-gradient(135deg, rgba(243, 172, 18, 0.1) 0%, rgba(243, 172, 18, 0.2) 100%);
        box-shadow: 0 6px 20px rgba(243, 172, 18, 0.2);
    }

    .dropdown-menu {
        position: static;
        float: none;
        width: 100%;
        margin: 0.75rem 0;
        box-shadow: inset 0 4px 12px rgba(0, 0, 0, 0.1);
        background: linear-gradient(135deg, var(--cream) 0%, rgba(243, 172, 18, 0.05) 100%);
        border: 2px solid rgba(243, 172, 18, 0.2);
        border-radius: 12px;
    }

    .dropdown-item {
        padding: 1rem 1.5rem;
        margin: 0.5rem;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.7);
        border: 1px solid rgba(243, 172, 18, 0.1);
    }

    .social-icons {
        justify-content: center;
        padding-top: 1.5rem;
        border-top: 2px solid rgba(243, 172, 18, 0.2);
        gap: 1rem;
    }

    .social-icons .btn {
        width: 45px;
        height: 45px;
        border: 2px solid var(--primary);
        background: linear-gradient(135deg, #ffffff 0%, rgba(243, 172, 18, 0.1) 100%);
    }

    .imgggg {
        height: 60px;
    }

    .dropdown-toggle::after {
        margin-left: auto;
    }

    .dropdown-menu.show {
        animation: mobileDropdownSlideIn 0.3s ease;
    }
}

@keyframes mobileDropdownSlideIn {
    from {
        opacity: 0;
        max-height: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        max-height: 300px;
        transform: translateY(0);
    }
}

@media (max-width: 576px) {
    header {
        padding-left: 15px;
        padding-right: 15px;
        height: 70px;
    }

    .imgggg {
        height: 50px;
    }

    .navbar-collapse {
        padding: 1.5rem;
        border-radius: 0 0 16px 16px;
    }

    .navbar-nav .nav-link {
        font-size: 1rem;
        padding: 1rem 1.25rem;
    }

    .social-icons .btn {
        width: 40px;
        height: 40px;
    }

    body {
        overflow-x: hidden;
    }

    .navbar-collapse {
        max-width: 100vw;
    }
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}



.blog-swiper .swiper-slide {
    height: auto;
    display: flex;
}

.blog-swiper .swiper-slide .blog-card {
    width: 100%;
    height: 100%;
}

/* Navigation Arrows */
.blog-swiper .swiper-button-next,
.blog-swiper .swiper-button-prev {
    color: #FF6B35;
    background: rgba(255, 255, 255, 0.9);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    top: 50%;
    margin-top: -22px;
}

.blog-swiper .swiper-button-next:hover,
.blog-swiper .swiper-button-prev:hover {
    background: #FF6B35;
    color: white;
    transform: scale(1.1);
}

.blog-swiper .swiper-button-next::after,
.blog-swiper .swiper-button-prev::after {
    font-size: 18px;
    font-weight: bold;
}

/* Pagination Dots */
.blog-swiper .swiper-pagination {
    bottom: 10px;
}

.blog-swiper .swiper-pagination-bullet {
    background: #FF6B35;
    opacity: 0.3;
    width: 12px;
    height: 12px;
    transition: all 0.3s ease;
}

.blog-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    transform: scale(1.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {

    .blog-swiper .swiper-button-next,
    .blog-swiper .swiper-button-prev {
        width: 35px;
        height: 35px;
        margin-top: -17px;
    }

    .blog-swiper .swiper-button-next::after,
    .blog-swiper .swiper-button-prev::after {
        font-size: 14px;
    }
}


/* Enhanced Mobile Toggle Positioning */
@media (max-width: 991.98px) {
    .navbar {
        justify-content: space-between;
        align-items: center;
        padding-right: 15px !important;
    }

    .navbar-brand {
        flex: 0 0 auto;
        margin-right: auto;
    }

    .navbar-toggler {
        position: relative !important;
        right: 0 !important;
        margin-left: auto !important;
        order: 2 !important;
        border: 2px solid #FF6B35 !important;
        border-radius: 8px !important;
        padding: 8px 10px !important;
        background: rgba(255, 107, 53, 0.1) !important;
        transition: all 0.3s ease !important;
    }

    .navbar-toggler:hover {
        background: #FF6B35 !important;
        transform: scale(1.05);
    }

    .navbar-toggler:hover .navbar-toggler-icon {
        filter: brightness(0) invert(1);
    }

    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23FF6B35' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
        width: 20px !important;
        height: 20px !important;
    }
}



/* Fix Blog Card Images */
.blog-card .image-container {
    width: 100%;
    height: 250px !important;
    min-height: 250px !important;
    max-height: 250px !important;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.blog-card .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 12px 12px 0 0;
    transition: transform 0.5s ease;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {

    .blog-swiper .swiper-button-next,
    .blog-swiper .swiper-button-prev {
        width: 35px;
        height: 35px;
        margin-top: -17px;
    }

    .blog-swiper .swiper-button-next::after,
    .blog-swiper .swiper-button-prev::after {
        font-size: 14px;
    }
}



/* Enhanced Mobile Toggle Positioning */
@media (max-width: 991.98px) {
    .navbar {
        justify-content: space-between !important;
        align-items: center !important;
        padding-right: 15px !important;
    }

    .navbar-brand {
        flex: 0 0 auto !important;
        margin-right: auto !important;
    }

    .navbar-toggler {
        position: relative !important;
        right: 0 !important;
        margin-left: auto !important;
        order: 2 !important;
        border: 2px solid #FF6B35 !important;
        border-radius: 8px !important;
        padding: 8px 10px !important;
        background: rgba(255, 107, 53, 0.1) !important;
        transition: all 0.3s ease !important;
    }

    .navbar-toggler:hover {
        background: #FF6B35 !important;
        transform: scale(1.05) !important;
    }

    .navbar-toggler:hover .navbar-toggler-icon {
        filter: brightness(0) invert(1) !important;
    }

    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23FF6B35' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
        width: 20px !important;
        height: 20px !important;
    }
}


.blog-grid {
    position: relative;
    overflow: hidden;
    padding: 0 20px;
}

.blog-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.blog-swiper {
    overflow: visible;
    padding: 20px 0 40px 0;
}

.blog-swiper .swiper-slide {
    height: auto;
    display: flex;
}

.blog-swiper .swiper-slide .blog-card {
    width: 100%;
    height: 100%;
}

/* Navigation Arrows */
.blog-swiper .swiper-button-next,
.blog-swiper .swiper-button-prev {
    color: #FF6B35;
    background: rgba(255, 255, 255, 0.9);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    top: 50%;
    margin-top: -22px;
}

.blog-swiper .swiper-button-next:hover,
.blog-swiper .swiper-button-prev:hover {
    background: #FF6B35;
    color: white;
    transform: scale(1.1);
}

.blog-swiper .swiper-button-next::after,
.blog-swiper .swiper-button-prev::after {
    font-size: 18px;
    font-weight: bold;
}

/* Pagination Dots */
.blog-swiper .swiper-pagination {
    bottom: 10px;
}

.blog-swiper .swiper-pagination-bullet {
    background: #FF6B35;
    opacity: 0.3;
    width: 12px;
    height: 12px;
    transition: all 0.3s ease;
}

.blog-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    transform: scale(1.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {

    .blog-swiper .swiper-button-next,
    .blog-swiper .swiper-button-prev {
        width: 35px;
        height: 35px;
        margin-top: -17px;
    }

    .blog-swiper .swiper-button-next::after,
    .blog-swiper .swiper-button-prev::after {
        font-size: 14px;
    }
}

/* Enhanced Mobile Toggle Positioning */
@media (max-width: 991.98px) {
    .navbar {
        justify-content: space-between !important;
        align-items: center !important;
        padding-right: 15px !important;
    }

    .navbar-brand {
        flex: 0 0 auto !important;
        margin-right: auto !important;
    }

    .navbar-toggler {
        position: relative !important;
        right: 0 !important;
        margin-left: auto !important;
        order: 2 !important;
        border: 2px solid #FF6B35 !important;
        border-radius: 8px !important;
        padding: 8px 10px !important;
        background: rgba(255, 107, 53, 0.1) !important;
        transition: all 0.3s ease !important;
    }

    .navbar-toggler:hover {
        background: #FF6B35 !important;
        transform: scale(1.05) !important;
    }

    .navbar-toggler:hover .navbar-toggler-icon {
        filter: brightness(0) invert(1) !important;
    }

    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23FF6B35' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
        width: 20px !important;
        height: 20px !important;
    }
}


.blog-card.expanded-modal .image-container {
    width: 100% !important;
    height: 300px !important;
    min-height: 300px !important;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 2rem 2rem 0 0 !important;
    padding: 0 !important;
    background: none !important;
}

.blog-card.expanded-modal .image-container img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 2rem 2rem 0 0 !important;
    display: block !important;
}


/* Fixed Modal Scrolling */
.blog-card.expanded-modal {
    max-height: 90vh !important;
    /* Allow more height */
    height: auto !important;
    /* Let content determine height */
    overflow-y: auto !important;
    /* Enable scrolling */
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
}

.blog-card.expanded-modal .card-content {
    flex: 1 1 auto !important;
    /* Allow content to grow */
    padding: 1.5rem 2rem 2rem 2rem !important;
    overflow: visible !important;
    /* Don't constrain content */
    max-height: none !important;
    /* Remove height limits */
}

.blog-card.expanded-modal .image-container {
    flex: 0 0 auto !important;
    /* Fixed size image */
    height: 250px !important;
    max-height: 250px !important;
}

.blog-card.expanded-modal p {
    max-height: none !important;
    /* Remove text height limits */
    overflow: visible !important;
    min-height: auto !important;
}

/* Custom scrollbar styling for better UX */
.blog-card.expanded-modal::-webkit-scrollbar,
.blog-card.expanded-modal .card-content::-webkit-scrollbar {
    width: 6px;
}

.blog-card.expanded-modal::-webkit-scrollbar-track,
.blog-card.expanded-modal .card-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.blog-card.expanded-modal::-webkit-scrollbar-thumb,
.blog-card.expanded-modal .card-content::-webkit-scrollbar-thumb {
    background: #ff6b35;
    border-radius: 3px;
}

.blog-card.expanded-modal::-webkit-scrollbar-thumb:hover,
.blog-card.expanded-modal .card-content::-webkit-scrollbar-thumb:hover {
    background: #e55a2e;
}