@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    margin: 0;
    background-color: #f4f4f4;
}

header, footer {
    background-color: #fff;
    padding: 20px;
    text-align: center;
}

nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #fff;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
}

.logo {
    text-decoration: none;
    color: #333;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 60px;
    width: auto;
    max-width: 300px;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
    font-size: 1.1rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        padding: 15px;
        gap: 15px;
    }

    .logo {
        font-size: 20px;
    }

    .nav-links {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links li a {
        font-size: 0.9rem;
        padding: 8px 12px;
    }

    /* Mobile dropdown adjustments */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: transparent;
        min-width: auto;
        display: none;
    }

    .dropdown:hover .dropdown-menu {
        display: block;
    }

    .dropdown-menu li a {
        padding: 6px 12px;
        font-size: 0.85rem;
        background: #f8f9fa;
        margin: 2px 0;
        border-radius: 4px;
    }

    .dropdown-toggle::before {
        content: '▼';
        font-size: 0.6rem;
    }
}

.nav-links li a {
    text-decoration: none;
    color: #333;
    padding: 10px 0;
    transition: color 0.3s ease;
    font-weight: 600;
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #f0b014;
    transition: width .3s ease;
}

.nav-links li a:hover::after,
.nav-links li a:focus::after {
    width: 100%;
}

.nav-links li a:hover {
    color: #666;
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    list-style: none;
    margin: 0;
    padding: 0;
    min-width: 180px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid #f0f0f0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    border-bottom: 1px solid #f5f5f5;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    border-radius: 0;
}

.dropdown-menu li:first-child a {
    border-radius: 8px 8px 0 0;
}

.dropdown-menu li:last-child a {
    border-radius: 0 0 8px 8px;
}

.dropdown-menu li a:hover {
    background: #f8f9fa;
    color: #f0b014;
    transform: translateX(5px);
}

.dropdown-menu li a::after {
    display: none;
}

.dropdown-toggle::before {
    content: '▼';
    font-size: 0.7rem;
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.hero {
    text-align: center;
    padding: 10px 10px 20px;
}

/* General h1 styles */
h1 {
    font-size: 2.2rem;
    /* font-weight: 700; */
    margin: 30px 0 20px 0;
    line-height: 1.2;
    text-align: center;
}

/* Main element styles */
main {
    padding: 0 20px;
    /* max-width: 1200px; */
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.2;
    display: inline-block;
}

.hero p {
    font-size: 1.1rem;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
}

.places {
    display: grid;
    gap: 25px;
    margin: 0 auto;
    width: 92%;
}

.categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    padding: 40px 10px;
    margin: 0 auto;
}

/* Home page specific - 3 centered cards */
.categories-home {
    grid-template-columns: repeat(3, 1fr);
    gap: 5%;
    padding: 45px 0 70px;
    
}

/* Large screens - 4 cards exactly */
@media (min-width: 1024px) {
    .categories, .places {
        grid-template-columns: repeat(4, 1fr);

    }
    
    .categories-home {
        grid-template-columns: repeat(3, 1fr);
        width: 88%;
    }
}


/* Small screens - 1 card */
@media (max-width: 479px) {
    .categories, .places {
        grid-template-columns: 1fr;
        max-width: 350px;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 30px 15px;
    }

    .hero h1 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .hero p {
        font-size: 1rem;
        padding: 0 10px;
    }


}

.category {
    position: relative;
    text-align: center;
    color: white;
    overflow: hidden;
    /* Squircle shape */
    border-radius: 24%;
    cursor: pointer;
    transition: transform .3s ease, box-shadow .3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    aspect-ratio: 1/1;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

/* Ensure images maintain aspect ratio */
.category-link {
    display: block;
    width: 100%;
}

.category:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at center,
        rgba(0,0,0,0.3) 0%,
        rgba(0,0,0,0.4) 40%,
        rgba(0,0,0,0.6) 100%
    );
    z-index: 1;
    opacity: 0.7;
    transition: opacity .3s ease;
    border-radius: 24%;
}

.category:hover::before {
    background: radial-gradient(
        circle at center,
        rgba(0,0,0,0.4) 0%,
        rgba(0,0,0,0.5) 40%,
        rgba(0,0,0,0.7) 100%
    );
    opacity: 1;
}

.category img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 24%;
}

.category span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 10px 15px;
    font-size: clamp(0.9rem, 2.5vw, 1.4rem);
    font-weight: 700;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    transition: all .3s ease;
    width: 85%;
    letter-spacing: 0.3px;
    text-align: center;
    line-height: 1.2;
}

.category:hover span {
    transform: translate(-50%, -50%) scale(1.05);
    text-shadow: 0 3px 6px rgba(0,0,0,0.6);
}

section {
    padding: 50px 10px;
    border-top: 1px solid #ddd;
    /* max-width: 1200px; */
    margin: 0 auto;
}

@media (max-width: 768px) {


    .category span {
        padding: clamp(10px, 3vw, 15px) clamp(15px, 5vw, 25px);
    }

    section {
        padding: 30px 15px;
    }

    section h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
}

/* Ensure touch devices get hover effects */
@media (hover: none) {
    .category::before {
        opacity: 0.3;  /* Always show some overlay for readability */
    }

    .category:active::before {
        opacity: 0.6;
    }
}

/* Place styles - same as category styles */
.place {
    position: relative;
    text-align: center;
    color: white;
    overflow: hidden;
    /* Squircle shape */
    border-radius: 24%;
    cursor: pointer;
    transition: transform .3s ease, box-shadow .3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    aspect-ratio: 1/1;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

/* Ensure images maintain aspect ratio */
.place-link {
    display: block;
    width: 100%;
}

.place:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.place::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at center,
        rgba(0,0,0,0.3) 0%,
        rgba(0,0,0,0.4) 40%,
        rgba(0,0,0,0.6) 100%
    );
    z-index: 1;
    opacity: 0.7;
    transition: opacity .3s ease;
    border-radius: 24%;
}

.place:hover::before {
    background: radial-gradient(
        circle at center,
        rgba(0,0,0,0.4) 0%,
        rgba(0,0,0,0.5) 40%,
        rgba(0,0,0,0.7) 100%
    );
    opacity: 1;
}

.place img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 24%;
}

.place span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 10px 15px;
    font-size: clamp(0.9rem, 2.5vw, 1.4rem);
    font-weight: 700;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    transition: all .3s ease;
    width: 85%;
    letter-spacing: 0.3px;
    text-align: center;
    line-height: 1.2;
}

.place:hover span {
    transform: translate(-50%, -50%) scale(1.05);
    text-shadow: 0 3px 6px rgba(0,0,0,0.6);
}

/* Mobile responsiveness for places */
@media (max-width: 768px) {

    .place span {
        padding: clamp(10px, 3vw, 15px) clamp(15px, 5vw, 25px);
    }
}

/* Ensure touch devices get hover effects for places */
@media (hover: none) {
    .place::before {
        opacity: 0.3;  /* Always show some overlay for readability */
    }

    .place:active::before {
        opacity: 0.6;
    }
}

/* Blog Layout Styles */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 10px;
}

.blog-post {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.post-category {
    background: #f0b014;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-date {
    color: #666;
    font-size: 0.9rem;
}

.post-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    line-height: 1.2;
}

.post-hero-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 30px;
}

.post-content p {
    margin-bottom: 20px;
}

.post-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.tag {
    background: #f5f5f5;
    color: #666;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: background 0.3s ease;
}

.tag:hover {
    background: #e0e0e0;
}

/* Sidebar Styles */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-section {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
}

.sidebar-section h3 {
    color: #333;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0b014;
}

.recent-posts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.recent-post {
    display: flex;
    text-decoration: none;
    color: inherit;
    padding: 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    gap: 12px;
    align-items: flex-start;
}

.recent-post:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.recent-post-thumbnail {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.recent-post-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-grow: 1;
}

.recent-post-title {
    display: block;
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
    line-height: 1.3;
    margin: 0;
}

.recent-post-category {
    font-size: 0.75rem;
    color: #f0b014;
    font-weight: 500;
    margin: 0;
}

.categories-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: #555;
    padding: 10px;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.category-item:hover {
    background: #f8f9fa;
    color: #333;
    border-color: #f0b014;
}

.category-name {
    font-weight: 500;
}

.category-count {
    background: #f0b014;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.popular-places, .immigration-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.place-item, .immigration-item {
    color: #555;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.place-item:hover, .immigration-item:hover {
    background: #f8f9fa;
    color: #333;
    border-left-color: #f0b014;
    transform: translateX(5px);
}

/* Footer Styles */
footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 40px 20px 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: #f0b014;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #34495e;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #f0b014;
}

.footer-description {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    margin: 0;
    color: #95a5a6;
    font-size: 0.9rem;
}

.footer-social span {
    color: #95a5a6;
    font-size: 0.9rem;
}

/* Mobile Responsiveness for Blog */
@media (max-width: 968px) {
    .blog-layout {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 20px 15px;
    }
    
    .blog-post {
        padding: 25px;
    }
    
    .post-title {
        font-size: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .post-title {
        font-size: 1.75rem;
    }
    
    .post-hero-image {
        border-radius: 8px;
        margin-bottom: 20px;
        max-height: 300px;
    }
    
    .sidebar-section {
        padding: 20px;
    }
    
    .recent-post-thumbnail {
        width: 50px;
        height: 50px;
    }
    
    .recent-post-title {
        font-size: 0.85rem;
    }
    
    .recent-post-category {
        font-size: 0.7rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

/* Enhanced Blog Feed Styles */
.blog-feed {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 10px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.blog-article-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.article-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.article-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-thumbnail:hover img {
    transform: scale(1.05);
}

.article-category-bottom {
    background: #f0b014;
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-top: 10px;
}

.article-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.article-meta {
    margin-bottom: 12px;
}

.article-date {
    color: #888;
    font-size: 0.9rem;
    font-weight: 500;
}

.article-title {
    margin: 0 0 10px 0;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.3;
    color: #333;
}

.article-subtitle {
    margin: 0 0 20px 0;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
    color: #666;
    /* Hard limit to 2 lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
}

.article-footer {
    margin-top: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-feed {
        grid-template-columns: 1fr;
        padding: 20px 15px;
        gap: 20px;
    }
    
    .article-thumbnail {
        height: 180px;
    }
    
    .article-content {
        padding: 20px;
    }
    
    .article-title {
        font-size: 1.25rem;
    }
    
    .article-subtitle {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .blog-feed {
        padding: 15px 10px;
    }
    
    .article-thumbnail {
        height: 160px;
    }
    
    .article-content {
        padding: 15px;
    }
}

/* Destination page styles */
.destination-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 10px;
    line-height: 1.7;
}

.destination-hero-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.destination-content h2 {
    color: #333;
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.destination-content h3 {
    color: #444;
    font-size: 1.4rem;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.destination-content p {
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.destination-content ul {
    margin-bottom: 25px;
    padding-left: 20px;
}

.destination-content li {
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.destination-content li strong {
    color: #333;
    font-weight: 600;
}

@media (max-width: 768px) {
    .destination-content {
        padding: 15px;
    }
    
    .destination-hero-image {
        border-radius: 8px;
        margin-bottom: 20px;
    }
    
    .destination-content h2 {
        font-size: 1.6rem;
    }
    
    .destination-content h3 {
        font-size: 1.2rem;
    }
    
    .destination-content p,
    .destination-content li {
        font-size: 1rem;
    }
}

/* Blog Front Page Styles */
.blog-front-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 10px;
}

/* Hero Section */
.hero-section {
    margin-bottom: 40px;
    margin-top: 40px;
}

.hero-slider {
    position: relative;
    height: 70vh;
    min-height: 500px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.hero-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: flex-end;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.8) 0%,
        rgba(0,0,0,0.4) 50%,
        rgba(0,0,0,0.1) 100%
    );
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    color: white;
    padding: 40px;
    max-width: 600px;
}

.hero-slide-category {
    background: #f0b014;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 15px;
}

.hero-slide-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero-slide-excerpt {
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 0 0 20px 0;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.hero-slide-date {
    font-size: 0.9rem;
    opacity: 0.8;
    font-weight: 500;
}

/* Hero Slider Controls */
.hero-slider-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 15px;
}

.slider-prev, .slider-next {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-prev:hover, .slider-next:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: white;
    border-color: white;
}

/* Secondary Content */
.secondary-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #333;
    border-bottom: 3px solid #f0b014;
    padding-bottom: 10px;
}

/* Secondary Articles */
.secondary-articles {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.secondary-article {
    display: flex;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.secondary-article:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.secondary-article-image {
    width: 240px;
    aspect-ratio: 4 / 3; /* maintain 4:3 ratio */
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 8px 0 0 8px;
}

.secondary-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.secondary-article:hover .secondary-article-image img {
    transform: scale(1.05);
}

.secondary-article-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.secondary-article-category {
    background: #f0b014;
    color: white;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    width: fit-content;
    margin-bottom: 10px;
}

.secondary-article-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.secondary-article-excerpt {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    margin: 0 0 15px 0;
}

.secondary-article-date {
    font-size: 0.85rem;
    color: #888;
    font-weight: 500;
}

/* Recent Headlines */
.recent-headlines {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
    height: fit-content;
}

.headlines-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.headline-item {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.headline-item:hover {
    background: #f8f9fa;
    border-color: #f0b014;
    transform: translateX(5px);
}

.headline-category {
    background: #f5f5f5;
    color: #666;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 8px;
}

.headline-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.headline-date {
    font-size: 0.8rem;
    color: #888;
    font-weight: 500;
}

/* Mobile Responsiveness */
@media (max-width: 968px) {
    .hero-slider {
        height: 50vh;
        min-height: 400px;
    }
    
    .hero-slide-title {
        font-size: 1.8rem;
    }
    
    .hero-slide-excerpt {
        font-size: 1rem;
    }
    
    .hero-slide-content {
        padding: 25px;
    }
    
    .secondary-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .secondary-article {
        flex-direction: column;
    }
    
    .secondary-article-image {
        width: 100%;
        aspect-ratio: 16 / 9;
        max-height: 220px;
    }
}

@media (max-width: 768px) {
    .blog-front-page {
        padding: 0 5px;
    }
    
    .hero-slider {
        height: 40vh;
        min-height: 300px;
    }
    
    .hero-slide-title {
        font-size: 1.5rem;
    }
    
    .hero-slide-excerpt {
        font-size: 0.9rem;
    }
    
    .hero-slide-content {
        padding: 20px;
    }
    
    .hero-slider-controls {
        bottom: 15px;
        right: 15px;
    }
    
    .slider-prev, .slider-next {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .secondary-article-content {
        padding: 15px;
    }
    
    .recent-headlines {
        padding: 20px;
    }
}

/* Contact Page Styles */
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

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

.contact-item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

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

.contact-link {
    display: flex;
    align-items: center;
    padding: 25px;
    text-decoration: none;
    color: inherit;
    gap: 20px;
}

.contact-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f8f9fa;
    padding: 10px;
    border: 2px solid #e9ecef;
}

.contact-icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.contact-info {
    flex-grow: 1;
}

.contact-info h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.contact-info p {
    margin: 0;
    font-size: 14px;
    color: #666;
    word-break: break-all;
}

/* Specific icon styling - subtle hover effects */
.contact-item:hover .contact-icon {
    border-color: #dee2e6;
    background: #ffffff;
}

/* Mobile responsiveness for contact */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-link {
        padding: 20px;
        gap: 15px;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
    }
    
    .contact-icon img {
        width: 25px;
        height: 25px;
    }
    
    .contact-info h3 {
        font-size: 16px;
    }
    
    .contact-info p {
        font-size: 13px;
    }
}

/* Hero title dynamic typing cursor */
.typing-cursor {
    font-style: italic;
    font-weight: 500;
    font-size: 2.2rem
}

.typing-cursor::after {
    content: '|';
    margin-left: 2px;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Home Featured Section */
.home-featured {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;

}

.featured-main {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    aspect-ratio: 16 / 9;
}
.featured-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.featured-main:hover img {
    transform: scale(1.05);
}

.featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.6) 90%);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
}
.featured-category {
    background: #f0b014;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: .8rem;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 12px;
}
.featured-title {
    font-size: 2rem;
    margin: 0 0 10px 0;
}
.featured-excerpt {
    font-size: 1rem;
    max-width: 70%;
    line-height: 1.4;
}

.featured-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.featured-side-item {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    cursor: pointer;
}
.featured-side-item img {
    width: 100%;
    height: 80%;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}
.featured-side-item h3 {
    font-size: 15px;
    line-height: 1.3;
    /* font-weight: 400; */
}

@media(max-width: 900px) {
    .home-featured {
        grid-template-columns: 1fr;
    }
    .featured-main {
        aspect-ratio: 4 / 3;
    }
    .featured-side {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        position: relative;
        background: rgba(0, 0, 0, 0.03);
        border-radius: 14px;
        box-shadow: inset 0 10px 18px rgba(0, 0, 0, 0.12), inset 0 -10px 18px rgba(0, 0, 0, 0.08);
        -webkit-mask-image: linear-gradient(to right, transparent 0, black 24px, black calc(100% - 24px), transparent 100%);
        mask-image: linear-gradient(to right, transparent 0, black 24px, black calc(100% - 24px), transparent 100%);
        -webkit-mask-size: 100% 100%;
        mask-size: 100% 100%;
        -webkit-overflow-scrolling: touch;
        transform: translateZ(0);
        padding: 25px 0 0 0;
    }
    .featured-side::before {
        content: "";
        position: absolute;
        top: -6px;
        left: 0;
        right: 0;
        height: 12px;
        border-radius: 14px;
        background: radial-gradient(120% 14px at 50% 0, rgba(0, 0, 0, 0.18) 0, rgba(0, 0, 0, 0) 65%);
        pointer-events: none;
        z-index: 1;
    }
    .featured-side-item {
        flex: 0 0 160px;
    }
    .featured-side-item img {
        height: 110px;
    }
}
