/* ===== MEDITERRANEAN MALLORCA GUIDE STYLES ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

:root {
    --primary: #00a8cc;
    --primary-dark: #0086a8;
    --secondary: #00d4aa;
    --accent: #ff6b6b;
    --dark: #1a3a4a;
    --light: #f0f9ff;
    --gray: #64748b;
    --success: #10b981;
    --warning: #f59e0b;
    --gradient: linear-gradient(135deg, #00a8cc 0%, #00d4aa 100%);
    --gradient-2: linear-gradient(135deg, #00d4aa 0%, #00a8cc 100%);
    --gradient-3: linear-gradient(135deg, #ff6b6b 0%, #feca57 100%);
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%2300a8cc" fill-opacity="0.03" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.content-wrapper {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.main-content {
    flex: 1;
}

.sidebar {
    width: 300px;
}

.sidebar2 {
    width: 900px;
}

/* ===== HEADER STYLES ===== */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
	
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transition: var(--transition); 
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    /* REMOVED the background properties */
    font-size: 1.5rem;
    display: flex;
	position: center; /* or absolute/fixed if needed */
    left: 0;  
    /*align-items: left;
    justify-content: left; */
    /* NO background, NO border-radius, NO width, NO height */
}

.nav-menu {
    display: flex;
    gap: 0.5rem;
    list-style: none;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.nav-link i {
    font-size: 1.1rem;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    transition: left 0.3s ease;
    z-index: -1;
}

.nav-link:hover::before {
    left: 0;
}

.nav-link:hover {
    color: white;
    transform: translateY(-2px);
}

.nav-link.active {
    background: var(--gradient);
    color: white;
}

/* ===== DROPDOWN MENU ===== */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.dropdown-toggle::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.7rem;
    margin-left: 4px;
    transition: var(--transition);
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1000;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.75rem 1.25rem;
    color: var(--dark);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

.dropdown-item i {
    width: 20px;
    text-align: center;
    color: var(--primary);
}

.dropdown-item:hover {
    background: var(--light);
    color: var(--primary);
}

.dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--gradient);
    transform: scaleY(0);
    transition: var(--transition);
}

.dropdown-item:hover::before {
    transform: scaleY(1);
}

/* ===== WEATHER WIDGET IN HEADER ===== */
.weather-widget-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.5rem 1rem;
    background: var(--gradient);
    color: white;
    border-radius: 10px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.weather-widget-header:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.weather-widget-header i {
    font-size: 1.2rem;
}

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
    padding: 1rem 0;
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs span {
    margin: 0 0.5rem;
    color: var(--gray);
}

/* ===== HERO SECTION ===== */
.hero {
    padding: 4rem 0;
    text-align: center;
    color: var(--dark);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: var(--gradient);
    border-radius: 50%;
    opacity: 0.1;
    z-index: -1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: var(--gradient-2);
    border-radius: 50%;
    opacity: 0.1;
    z-index: -1;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== SEARCH BAR ===== */
.search-container {
    max-width: 600px;
    margin: 0 auto 3rem;
    position: relative;
}

.search-box {
    background: white;
    border-radius: 20px;
    padding: 0.5rem;
    display: flex;
    gap: 0.5rem;
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
}

.search-box:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 25px 50px -12px rgba(0, 168, 204, 0.25);
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    padding: 0.75rem 1.25rem;
    background: transparent;
    color: var(--dark);
}

.search-input::placeholder {
    color: var(--gray);
}

.search-btn {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 168, 204, 0.3);
}

/* ===== AD SPACES ===== */
.ad-banner {
    background: rgba(255, 255, 255, 0.7);
    border: 1px dashed var(--gray);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    margin: 2rem 0;
    color: var(--gray);
    font-size: 0.9rem;
}

.ad-banner-horizontal {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-banner-vertical {
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.ad-label {
    position: absolute;
    top: 5px;
    left: 5px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 0.7rem;
    padding: 2px 5px;
    border-radius: 3px;
}

/* ===== CARDS ===== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.card:hover .card-image {
    transform: scale(1.05);
}

.card-content {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.card-description {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.card-price {
    display: none;
}

.card-btn {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 168, 204, 0.3);
}

/* Weather Page Styles */
.wg-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.wg-hero {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    padding: 3rem 1rem;
    text-align: center;
    color: white;
}

.wg-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.wg-hero .wg-subtitle {
    font-size: 1.25rem;
}

.wg-widget {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.wg-city {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.wg-icon img {
    width: 100px;
    height: 100px;
}

.wg-temp {
    font-size: 3rem;
    font-weight: bold;
    margin: 0.5rem 0;
    color: #333;
}

.wg-desc {
    color: #666;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.wg-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 1rem;
    margin-top: 1.5rem;
}

.wg-detail {
    background: #f7f7f7;
    border-radius: 10px;
    padding: 1rem;
    flex: 1 1 140px;
    text-align: center;
}

.wg-label {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 0.5rem;
}

.wg-value {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
}

.wg-forecast-title {
    font-size: 2rem;
    text-align: center;
    margin: 2rem 0 1.5rem;
    color: #333;
}

.wg-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.wg-card {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.wg-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.wg-card-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.wg-card-temp {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0.5rem 0;
    color: #333;
}

.wg-card-desc {
    font-size: 0.95rem;
    color: #666;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .wg-details {
        flex-direction: column;
        align-items: center;
    }

    .wg-temp {
        font-size: 2.5rem;
    }

    .wg-city {
        font-size: 1.75rem;
    }

    .wg-forecast-title {
        font-size: 1.5rem;
    }

    .wg-card {
        max-width: 100%;
    }
}

/* ===== NEWS SECTION ===== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.0rem;
    margin-bottom: 3rem;
    justify-content: center; /* centers cards when fewer per row */
}

.news-card {
    background: white;
    border-radius: 15px;
    padding: 0.8rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
	max-width: 1600px; /* optional, prevents cards from stretching too much */
    width: 100%;
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--gradient);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: var(--transition);
}

.news-card:hover::before {
    transform: scaleY(1);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.news-date {
    color: var(--gray);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-date i {
    color: var(--primary);
}

.news-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.news-excerpt {
    color: var(--gray);
    line-height: 1.6;
}

.news-image {
    width: 100%;
    max-height: 250px;
    object-fit: cover;
    margin: 1rem 0;
    border-radius: 6px;
}



/* ===== RELATED CONTENT ===== */
.related-content {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    margin-top: 2rem;
}

.related-content h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    color: var(--dark);
    position: relative;
    padding-bottom: 0.5rem;
}

.related-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient);
    border-radius: 3px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.related-item {
    display: flex;
    gap: 1rem;
    padding: 0.75rem;
    border-radius: 10px;
    transition: var(--transition);
}

.related-item:hover {
    background: var(--light);
}

.related-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.related-item-content h4 {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    color: var(--dark);
}

.related-item-content p {
    font-size: 0.8rem;
    color: var(--gray);
}

.related-link {
    text-decoration: none;
    color: inherit;
}

/* ===== NEWSLETTER SECTION ===== */
.newsletter-section {
    background: var(--gradient);
    border-radius: 20px;
    padding: 3rem;
    margin: 3rem 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.newsletter-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.newsletter-section p {
    max-width: 600px;
    margin: 0 auto 2rem;
    position: relative;
    z-index: 1;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.newsletter-input {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 10px 0 0 10px;
    font-size: 1rem;
}

.newsletter-btn {
    background: var(--dark);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 0 10px 10px 0;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-btn:hover {
    background: #0a2533;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient);
    border-radius: 3px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a i {
    font-size: 0.875rem;
    color: var(--secondary);
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* ===== BADGES ===== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    background: var(--gradient);
    color: white;
}

.badge i {
    font-size: 0.75rem;
}

.badge-success {
    background: var(--success);
    color: white;
}

.badge-warning {
    background: var(--warning);
    color: white;
}

/* ===== SECTION SPACING FIXES ===== */
.weather-section {
    padding: 3rem 0;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    margin-bottom: 2rem;
}

.activities-section {
    padding: 2rem 0 4rem;
}

.news-section {
    padding: 2rem 0 4rem;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
}

.section-title {
    color: var(--dark);
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

/* ===== CARD ACTION STYLES (REPLACES CARD-FOOTER) ===== */
.card-action {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    .content-wrapper {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 1rem;
        border-radius: 0 0 15px 15px;
        box-shadow: var(--shadow-xl);
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: var(--gradient);
        color: white;
        border: none;
        border-radius: 10px;
        cursor: pointer;
        font-size: 1.2rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-input {
        border-radius: 10px;
        margin-bottom: 1rem;
    }
    
    .newsletter-btn {
        border-radius: 10px;
    }
}

@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: none;
    }
}

/* ===== ANIMATIONS ===== */
.fade-in {
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.slide-in {
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(-20px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ===== LOADING SPINNER ===== */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 168, 204, 0.2);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


/* ===== NOTIFICATION ===== */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(400px);
    transition: var(--transition);
    z-index: 2000;
}

.notification.show {
    transform: translateX(0);
}

.notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    color: white;
}

.notification-content h4 {
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.notification-content p {
    font-size: 0.875rem;
    color: var(--gray);
}

.notification-close {
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
    font-size: 1.2rem;
    margin-left: 1rem;
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}



/* ===== CONTACT PAGE STYLES (COMPLETE) ===== */
.contact-section {
    padding: 2rem 0 4rem;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    margin-bottom: 2rem;
}

.contact-form-container {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-xl);
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: var(--gradient);
    border-radius: 50%;
    opacity: 0.05;
}

.contact-form {
    width: 100%;
    position: relative;
    z-index: 1;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 168, 204, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    margin-bottom: 2rem;
    background: rgba(0, 168, 204, 0.05);
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 168, 204, 0.1);
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    color: var(--dark);
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #e5e7eb;
    border-radius: 5px;
    margin-right: 12px;
    position: relative;
    transition: var(--transition);
    flex-shrink: 0;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--gradient);
    border-color: var(--primary);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.submit-btn {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 auto;
    box-shadow: var(--shadow);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Contact Info Section */
.contact-info-section {
    padding: 2rem 0 4rem;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-info-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.contact-info-card:hover::before {
    transform: scaleX(1);
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.8rem;
    box-shadow: var(--shadow);
}

.contact-info-card h3 {
    margin-bottom: 1rem;
    color: var(--dark);
    font-size: 1.25rem;
    font-weight: 700;
}

.contact-info-card p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.map-btn {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 0.625rem 1.25rem;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    box-shadow: var(--shadow);
}

.map-btn:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

/* ===== FAQ STYLES ===== */
.faq-section {
    padding: 2rem 0 4rem;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #f8fafc;
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.faq-item:hover {
    box-shadow: var(--shadow-lg);
}

.faq-item.active {
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.faq-question:hover {
    background: #f0f9ff;
}

.faq-question i {
    transition: all 0.3s ease;
    color: var(--primary);
    font-size: 0.9rem;
}

.faq-item.active .faq-question {
    color: var(--primary);
    background: #f0f9ff;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: white;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--gray);
    line-height: 1.6;
    font-size: 1rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}


/* Sidebar Widget Container */
.sidebar-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    width: 340%;
    margin-bottom: 1rem;
}

/* Sidebar Widget Styles */
.sidebar-widget {
    background: white;
    border-radius: 15px;
    padding: 2.0rem;
    box-shadow: var(--shadow);
    margin-bottom: 0; /* Removed as we're using gap for spacing */
}

/* Rest of your existing CSS for sidebar widgets */

.sidebar-widget h3 {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    color: var(--dark);
    position: relative;
    padding-bottom: 0.75rem;
}

.sidebar-widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient);
    border-radius: 3px;
}

.sidebar-list {
    list-style: none;
}

.sidebar-list li {
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.sidebar-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.sidebar-list a {
    color: var(--dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    font-weight: 500;
}

.sidebar-list a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.sidebar-list a i {
    color: var(--primary);
    font-size: 0.9rem;
    width: 20px;
    text-align: center;
}

.sidebar2-widget {
    background: white;
    border-radius: 15px;
    padding: 1.2rem;
    box-shadow: var(--shadow);
    margin-bottom: 0; /* Removed as we're using gap for spacing */
}

/* Rest of your existing CSS for sidebar widgets */

.sidebar2-widget h3 {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    color: var(--dark);
    padding-bottom: 0.75rem;
}

.sidebar2-widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient);
    border-radius: 3px;
}

.sidebar2-newsletter {
    display: flex;
    flex-direction: column;
    gap: 1.875rem;
}

.sidebar2-newsletter p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.sidebar2-newsletter input {
    padding: 0.875rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
}

.sidebar2-newsletter input:focus {
    outline: none;
    border-color: var(--primary);
}

.sidebar2-newsletter button {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 0.875rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.sidebar2-newsletter button:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow);
}

/* Make testimonials and newsletter sit side by side */
.sidebar2-flex {
    display: flex;
    gap: 1.5rem; /* space between them */
    flex-direction: row;
    flex-wrap: wrap; /* allows stacking on smaller screens */
	position: center;
}

.sidebar2-flex .sidebar2-widget {
    flex: 1 1 48%; /* each widget takes about half the width */
	position: center;
}

.center-screen {
    display: flex;
    justify-content: center; /* horizontal center */
    align-items: center;     /* vertical center */
    min-height: 100vh;       /* full viewport height */
    padding: 2rem;           /* optional padding */
    box-sizing: border-box;
}


/* Business Hours Styles */
.business-hours {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
	width: 300px;
}

.hours-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Social Links Styles */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.5rem;
    border-radius: 8px;
    text-decoration: none;
    color: var(--dark);
    transition: var(--transition);
}

.social-link:hover {
    transform: translateX(5px);
}

.social-link i {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}


/* Responsive adjustments */
@media (max-width: 1024px) {
    .sidebar-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .sidebar-container {
        grid-template-columns: 1fr;
    }
}

.business-hours {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-weight: 500;
}

.hours-row:last-child {
    border-bottom: none;
}

.hours-row span:first-child {
    color: var(--dark);
}

.hours-row span:last-child {
    color: var(--primary);
    font-weight: 600;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem;
    border-radius: 8px;
    text-decoration: none;
    transition: var(--transition);
    color: white;
    font-weight: 500;
}

.social-link.facebook {
	background: linear-gradient(45deg, #1877f2 50%, #1360C4 100%);
}

.social-link.instagram {
    background: linear-gradient(45deg, #FF9D2C 0%, #EF5720 25%, #dc2743 50%, #D12458 75%, #DA1799 100%);
}

.social-link.twitter {
    background: #020202;
}

.social-link.tiktok {
	background: linear-gradient(45deg, #020202 0%, #7C009B 94%, #500064 100%);
}

.social-link:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

.social-link i {
    font-size: 1.1rem;
}

/* Ad Banner Styles */
.ad-banner {
    background: rgba(255, 255, 255, 0.7);
    border: 1px dashed var(--gray);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    margin: 2rem 0;
    color: var(--gray);
    font-size: 0.9rem;
    position: relative;
}

.ad-banner-horizontal {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-banner-vertical {
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.ad-label {
    position: absolute;
    top: 5px;
    left: 5px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 0.7rem;
    padding: 2px 5px;
    border-radius: 3px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-form-container {
        padding: 2rem 1.5rem;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-question {
        padding: 1.25rem;
        font-size: 1rem;
    }
    
}

@media (max-width: 480px) {
    .contact-form-container {
        padding: 1.5rem 1rem;
    }
    
    .contact-info-card {
        padding: 2rem 1.5rem;
    }
    
    .faq-question {
        padding: 1rem;
        font-size: 0.95rem;
    }
    
}

/* ===== ABOUT PAGE STYLES (CORRECTED) ===== */
.story-section {
    padding: 2rem 0 4rem;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
}

.story-text p {
    margin-bottom: 1.5rem;
    color: var(--gray);
    line-height: 1.8;
    font-size: 1.05rem;
}

.story-text p:last-child {
    margin-bottom: 0;
}

.story-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.mission-section {
    padding: 2rem 0 4rem;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.mission-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.mission-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.mission-card h3 {
    margin-bottom: 1rem;
    color: var(--dark);
    font-size: 1.25rem;
}

.mission-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* ===== TEAM STYLES (CORRECTED) ===== */
.team-section {
    padding: 2rem 0 4rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.team-member {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.member-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.member-info {
    padding: 2rem;
}

.member-info h3 {
    margin-bottom: 0.5rem;
    color: var(--dark);
    font-size: 1.25rem;
}

.member-role {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 1rem;
}

.member-bio {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.member-social {
    display: flex;
    gap: 1rem;
}

.member-social a {
    width: 40px;
    height: 40px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition);
    text-decoration: none;
}

.member-social a:hover {
    background: var(--gradient);
    color: white;
    transform: scale(1.1);
}

/* ===== STATS STYLES (CORRECTED) ===== */
.stats-section {
    padding: 4rem 0;
    background: var(--gradient);
    border-radius: 20px;
    margin: 3rem 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 500;
}

/* ===== AWARDS STYLES (CORRECTED) ===== */
.awards-section {
    padding: 2rem 0 4rem;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.award-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.award-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.award-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.award-card h3 {
    margin-bottom: 0.5rem;
    color: var(--dark);
    font-size: 1.25rem;
}

.award-card p {
    color: var(--gray);
}

.testimonial {
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonial:last-child {
    border-bottom: none;
}

.testimonial p {
    font-style: italic;
    color: var(--gray);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.testimonial-author strong {
    display: block;
    color: var(--dark);
    font-size: 1rem;
}

.testimonial-author span {
    font-size: 0.9rem;
    color: var(--gray);
}

.partners-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.partner-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.25rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    transition: var(--transition);
}

.partner-logo:hover {
    background: var(--light);
    transform: translateY(-2px);
}

.partner-logo i {
    font-size: 1.5rem;
    color: var(--primary);
}

.partner-logo span {
    font-size: 0.85rem;
    text-align: center;
    color: var(--dark);
    font-weight: 500;
}

/* ===== RESPONSIVE DESIGN FOR NEW PAGES (CORRECTED) ===== */
@media (max-width: 992px) {
    .story-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-form-container {
        padding: 2rem 1.5rem;
    }
    
    .story-content {
        padding: 2rem 1.5rem;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
    
    .mission-grid {
        grid-template-columns: 1fr;
    }
    
    .awards-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .contact-form-container,
    .story-content {
        padding: 1.5rem 1rem;
    }
    
    .contact-info-card {
        padding: 2rem 1.5rem;
    }
    
    .mission-card,
    .award-card {
        padding: 2rem 1.5rem;
    }
    
    .member-info {
        padding: 1.5rem;
    }
}

/* Wrapper for privacy/terms pages */
.pp-tos-wrapper {
    max-width: 900px;
    margin: 3rem auto;
    padding: 2rem;
    background: #fff;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

/* Headings */
.pp-tos-title {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.pp-tos-subtitle {
    font-size: 1.5rem;
    color: var(--primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.pp-tos-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient);
    border-radius: 3px;
}

/* Paragraphs */
.pp-tos-text {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Links */
.pp-tos-text a {
    color: var(--primary);
    text-decoration: underline;
}

.pp-tos-text a:hover {
    text-decoration: none;
}


/* Responsive */
@media (max-width: 768px) {
    .pp-tos-wrapper {
        padding: 1.5rem;
    }
}
