* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #f8fafc;
    color: #1e293b;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 120px 0 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-section::before {
    content: '';
    position: absolute;
    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="%23ffffff22" fill-opacity="1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,133.3C960,128,1056,96,1152,90.7C1248,85,1344,107,1392,117.3L1440,128L1440,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;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(1.75rem, 5vw, 3rem);
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Search Container */
.search-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    animation: fadeInUp 0.8s ease-out 0.4s both;
    padding: 0 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 101;
    margin-top: 20px;
}

.search-icon {
    position: absolute;
    left: 35px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 1.1rem;
    z-index: 2;
}

#searchInput {
    width: 100%;
    padding: 14px 20px 14px 45px;
    font-size: clamp(0.9rem, 2vw, 1rem);
    border: none;
    border-radius: 50px;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

#searchInput:focus {
    outline: none;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

/* Filter Section */
.filter-section {
    background: white;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding: 0 10px;
}

.filter-btn {
    padding: 8px 18px;
    border: 2px solid #e2e8f0;
    background: white;
    border-radius: 30px;
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.filter-btn:hover {
    border-color: #667eea;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.filter-btn i {
    font-size: 1rem;
}

/* Stats */
.stats-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    min-width: 120px;
}

.stat-number {
    display: block;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #667eea;
}

.stat-label {
    font-size: clamp(0.75rem, 1.5vw, 0.9rem);
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .hero-section {
        padding: 100px 0 30px;
    }

    .search-container {
        position: relative;
        padding: 0 15px;
        margin-top: 15px;
        width: 100%;
        max-width: 100%;
    }

    .filter-section {
        padding: 15px 0;
        top: 0;
    }

    .filter-buttons {
        gap: 8px;
        margin-bottom: 15px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .stats-container {
        gap: 20px;
    }

    .stat-item {
        min-width: 100px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .filter-buttons {
        flex-direction: column;
        align-items: stretch;
        padding: 0 15px;
    }

    .filter-btn {
        width: 100%;
        justify-content: center;
        padding: 10px;
    }

    .stats-container {
        flex-direction: column;
        gap: 15px;
    }

    .stat-item {
        width: 100%;
    }
}

/* College Grid */
.colleges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 350px), 1fr));
    gap: 25px;
    margin-bottom: 40px;
    padding: 0 10px;
}

.college-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    animation: fadeIn 0.5s ease-out;
    transform-origin: center;
}

.college-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.college-header {
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.college-name {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.3;
}

.college-location {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    opacity: 0.9;
}

.college-body {
    padding: 20px;
}

.college-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #64748b;
    font-size: clamp(0.8rem, 1.8vw, 0.9rem);
}

.info-item i {
    width: 20px;
    color: #667eea;
    flex-shrink: 0;
}

.college-tags {
    display: flex;
    gap: 6px;
    margin-top: 14px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tag {
    padding: 4px 10px;
    background: #f1f5f9;
    color: #475569;
    border-radius: 20px;
    font-size: clamp(0.7rem, 1.5vw, 0.8rem);
    font-weight: 500;
    white-space: nowrap;
}

.tag.country {
    background: #e0e7ff;
    color: #4c1d95;
}

/* Learn More Button Styles */
.learn-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: #8b5cf6;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    justify-content: center;
    margin-top: 15px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    border: 2px solid transparent;
}

.learn-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(-100%) skewX(-15deg);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.learn-more-btn:hover {
    transform: translateY(-3px);
    background: #7c3aed;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.learn-more-btn:hover::before {
    transform: translateX(100%) skewX(-15deg);
}

.learn-more-btn:active {
    transform: translateY(-1px);
    background: #6d28d9;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.learn-more-btn i {
    font-size: 1.1em;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
    color: #ffffff;
}

.learn-more-btn:hover i {
    transform: translateX(3px);
}

.learn-more-btn span {
    position: relative;
    z-index: 1;
    color: #ffffff;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .learn-more-btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .learn-more-btn {
        background: #7c3aed;
        box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
    }

    .learn-more-btn:hover {
        background: #6d28d9;
        box-shadow: 0 8px 25px rgba(124, 58, 237, 0.5);
    }
}

/* Remove modal styles */
.modal {
    display: none;
}

/* Desktop Modal Styles */
@media (min-width: 769px) {
    .modal-content {
        margin: 20px auto;
        height: calc(100% - 40px);
        border-radius: 16px;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    }
}

/* Mobile Modal - Full Screen Experience */
@media (max-width: 768px) {
    .modal-content {
        margin: 0;
        height: 100%;
        border-radius: 0;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }

    .modal-body {
        height: 100%;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 20px;
    }

    .close-modal {
        top: 15px;
        right: 15px;
        background: rgba(255, 255, 255, 0.9);
    }
}

.close-modal {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    z-index: 10;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.close-modal:hover {
    transform: scale(1.1);
    background: white;
}

.close-modal::before,
.close-modal::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 2px;
    background: #64748b;
    transition: background 0.3s ease;
}

.close-modal::before {
    transform: rotate(45deg);
}

.close-modal::after {
    transform: rotate(-45deg);
}

.close-modal:hover::before,
.close-modal:hover::after {
    background: #1e293b;
}

.modal-body {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex: 1;
    scroll-behavior: smooth;
    padding: 20px;
}

/* Mobile-Optimized Modal Content Styles */
@media (max-width: 768px) {
    .modal-body::-webkit-scrollbar {
        display: none;
    }
    
    .modal-body {
        -ms-overflow-style: none;
        scrollbar-width: none;
        padding-top: 60px;
    }
}

/* Pull indicator for mobile */
@media (max-width: 768px) {
    .modal-content::before {
        content: '';
        position: absolute;
        top: 8px;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 4px;
        background: #e2e8f0;
        border-radius: 2px;
        z-index: 10;
    }
}

/* Animations */
@keyframes slideUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideUpMobile {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Additional mobile optimizations */
.is-mobile .college-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lazy-load {
    opacity: 0;
    transform: translateY(20px);
}

.lazy-load.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

body.scrolled .filter-section {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Mobile touch feedback */
@media (hover: none) and (pointer: coarse) {
    .college-card:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
    
    a:active {
        opacity: 0.8;
    }
}

/* Fonts loaded state */
body.fonts-loaded {
    opacity: 1;
}

body:not(.fonts-loaded) {
    opacity: 0.9;
}

/*  css for navbar starts */

.edu-header {
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
}

main {
    padding-top: 80px;
}

.edu-navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    height: 60px;
}

.edu-logo__img {
    height: 40px;
    width: auto;
    display: block;
}

.edu-nav-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.edu-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.edu-nav__item {
    margin: 0 15px;
    position: relative;
}

.edu-nav__link {
    color: #333333;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    padding: 10px 5px;
    display: block;
    transition: color 0.3s ease;
}

.edu-nav__link:hover,
.edu-nav__item--active .edu-nav__link {
    color: #007bff;
}

.edu-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 220px;
    background-color: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    border-radius: 5px;
    padding: 10px 0;
    z-index: 100;
}

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

.edu-dropdown__item {
    display: block;
    padding: 10px 20px;
    color: #333333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.edu-dropdown__item:hover {
    background-color: #f8f9fa;
    color: #007bff;
    padding-left: 25px;
}

.edu-subdropdown {
    position: relative;
}

.edu-subdropdown__menu {
    position: absolute;
    top: 0;
    left: 100%;
    width: 220px;
    background-color: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    border-radius: 5px;
    padding: 10px 0;
}

.edu-subdropdown:hover .edu-subdropdown__menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.edu-apply {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.edu-apply__btn {
    background-color: #007bff;
    color: #ffffff;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.edu-apply__btn:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

.edu-navbar__toggler {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333333;
    padding: 5px;
}

.edu-navbar__toggler-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(0, 0, 0, 0.5)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}

.edu-nav-close {
    display: none;
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    padding: 5px;
    z-index: 1003;
}

.edu-nav-close:hover {
    color: #007bff;
}

/* Mobile Navbar Styles */
@media (max-width: 576px) {
    .edu-navbar__toggler {
        display: block;
        z-index: 1002;
    }

    .edu-nav-close {
        display: none !important;
        position: fixed;
        top: 15px;
        right: 15px;
        background: none;
        border: none;
        font-size: 24px;
        color: #333;
        cursor: pointer;
        padding: 5px;
        z-index: 1003;
        width: 40px;
        height: 40px;
        align-items: center;
        justify-content: center;
    }

    .edu-nav--open .edu-navbar__toggler {
        display: none;
    }

    .edu-nav--open .edu-nav-close {
        display: flex !important;
    }

    .edu-nav-close:hover {
        color: #007bff;
    }

    .edu-nav-container {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: calc(100vh - 60px);
        background-color: #ffffff;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        padding: 1rem;
        overflow-y: auto;
        z-index: 1001;
    }

    .edu-nav--open .edu-nav-container {
        display: block;
    }

    .edu-nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .edu-nav__item {
        margin: 0.5rem 0;
        width: 100%;
    }

    .edu-nav__link {
        font-size: 18px;
        padding: 10px 15px;
        display: block;
        width: 100%;
        position: relative;
    }

    /* Add dropdown arrow indicator */
    .edu-nav__item:has(.edu-dropdown) .edu-nav__link::after {
        content: '▼';
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 12px;
        transition: transform 0.3s ease;
    }

    .edu-nav__item--open .edu-nav__link::after {
        transform: translateY(-50%) rotate(180deg);
    }

    .edu-dropdown {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        background-color: #f8f9fa;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        margin-top: 5px;
    }

    .edu-nav__item--open .edu-dropdown {
        display: block;
    }

    .edu-dropdown__item {
        padding: 12px 30px;
        font-size: 16px;
        position: relative;
    }

    /* Add subdropdown arrow indicator */
    .edu-subdropdown .edu-dropdown__item::after {
        content: '▶';
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 12px;
        transition: transform 0.3s ease;
    }

    .edu-subdropdown--open .edu-dropdown__item::after {
        transform: translateY(-50%) rotate(90deg);
    }

    .edu-subdropdown__menu {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        background-color: #f0f1f2;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        margin-left: 15px;
    }

    .edu-subdropdown--open .edu-subdropdown__menu {
        display: block;
    }

    .edu-subdropdown__menu .edu-dropdown__item {
        padding-left: 45px;
    }

    .edu-apply {
        display: none;
    }

    .edu-nav--open .edu-apply {
        display: flex;
        width: 100%;
        justify-content: center;
        margin-top: 1rem;
    }

    .edu-apply__btn {
        width: 100%;
        text-align: center;
        padding: 12px;
        font-size: 18px;
    }

    main {
        padding-top: 60px;
    }
}

@media (max-width: 992px) {
    main {
        padding-top: 70px;
    }
    
    .edu-navbar {
        height: auto;
        min-height: 60px;
    }
}
/*  css for navbar ends  */

.page_bottom_wrap {
    background: linear-gradient(to right, #f8f9fa, #e9ecef);
    color: #495057;
    font-family: 'Poppins', sans-serif;
    padding: 0;
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-top: auto;
  }
  
  .page_bottom_wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, #6c5ce7, #a29bfe, #0984e3, #74b9ff);
    z-index: 10;
  }
  
  .footer_container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 40px;
  }
  
  .footer_content_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
  }
  
  .footer_column {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 20px;
    border-radius: 8px;
  }
  
  .footer_column:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  }
  
  .footer_heading {
    position: relative;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 12px;
    color: #343a40;
  }
  
  .footer_heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #6c5ce7;
    transition: width 0.3s ease;
  }
  
  .footer_column:hover .footer_heading::after {
    width: 70px;
  }
  
  /* Contact Section */
  .contact_item {
    margin-bottom: 12px;
    display: flex;
    align-items: baseline;
  }
  
  .contact_label {
    font-weight: 600;
    margin-right: 8px;
    color: #495057;
  }
  
  .contact_link {
    color: #6c5ce7;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
  }
  
  .contact_link:hover {
    color: #5348c7;
    transform: translateX(5px);
  }
  
  /* Address Section */
  .address_details {
    font-style: normal;
    line-height: 1.6;
  }
  
  .address_links {
    margin-top: 10px;
  }
  
  .address_link {
    color: #6c5ce7;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
  }
  
  .address_link:hover {
    color: #5348c7;
    text-decoration: underline;
  }
  
  /* Hours Section */
  .hours_item {
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
  }
  
  .day_range {
    font-weight: 600;
    color: #495057;
  }
  
  .hour_range {
    color: #6c757d;
  }
  
  /* Newsletter Section */
  .newsletter_form {
    display: flex;
    margin-bottom: 20px;
  }
  
  .newsletter_input {
    flex-grow: 1;
    padding: 12px 15px;
    border: 1px solid #dee2e6;
    border-radius: 6px 0 0 6px;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
  }
  
  .newsletter_input:focus {
    border-color: #6c5ce7;
    box-shadow: 0 0 0 2px rgba(108, 92, 231, 0.2);
  }
  
  .newsletter_button {
    background: #6c5ce7;
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 0 6px 6px 0;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }
  
  .newsletter_button:hover {
    background: #5348c7;
    transform: translateX(3px);
  }
  
  .newsletter_button i {
    transition: transform 0.3s ease;
  }
  
  .newsletter_button:hover i {
    transform: translateX(3px);
  }
  
  /* Social Icons */
  .social_icons {
    display: flex;
    gap: 12px;
    margin-top: 20px;
  }
  
  .social_icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f8f9fa;
    color: #6c5ce7;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }
  
  .social_icon:hover {
    transform: translateY(-5px) rotate(10deg);
  }
  
  .social_icon.twitter:hover {
    background: #1da1f2;
    color: white;
  }
  
  .social_icon.facebook:hover {
    background: #4267B2;
    color: white;
  }
  
  .social_icon.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: white;
  }
  
  .social_icon.pinterest:hover {
    background: #E60023;
    color: white;
  }
  
  .social_icon.rss:hover {
    background: #f26522;
    color: white;
  }
  
  /* Copyright Bar */
  .copyright_bar {
    text-align: center;
    padding: 20px;
    background: rgba(0,0,0,0.03);
    position: relative;
  }
  
  .copyright_text {
    font-size: 14px;
    margin: 0;
    opacity: 0.8;
  }
  
  /* Animation for page load */
  @keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
  }
  
  .footer_column {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
  }
  
  .footer_column:nth-child(1) {
    animation-delay: 0.1s;
  }
  
  .footer_column:nth-child(2) {
    animation-delay: 0.2s;
  }
  
  .footer_column:nth-child(3) {
    animation-delay: 0.3s;
  }
  
  .footer_column:nth-child(4) {
    animation-delay: 0.4s;
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    .footer_content_grid {
        grid-template-columns: 1fr 1fr;
    }
  }
  
  @media (max-width: 576px) {
    .footer_content_grid {
        grid-template-columns: 1fr;
    }
    
    .footer_container {
        padding: 40px 20px 20px;
    }
  }
  
  /* Back to top floating button */
  .back_to_top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 45px;
    height: 45px;
    background: #6c5ce7;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(108, 92, 231, 0.5);
    transition: transform 0.3s ease, background-color 0.3s ease;
    z-index: 99;
  }
  
  .back_to_top:hover {
    transform: translateY(-5px);
    background: #5348c7;
  }

/* Spinner Overlay */
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner {
    width: 50px;
    height: 50px;
    position: relative;
}

.spinner-inner {
    width: 100%;
    height: 100%;
    border: 4px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    animation-play-state: paused; /* Paused by default */
}

.spinner-overlay[style*="display: flex"] .spinner-inner {
    animation-play-state: running; /* Only run when visible */
}

.spinner-inner::before,
.spinner-inner::after {
    content: '';
    position: absolute;
    border: 4px solid transparent;
    border-radius: 50%;
}

.spinner-inner::before {
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-top-color: rgba(255, 255, 255, 0.5);
    animation: spin 2s linear infinite;
    animation-play-state: paused;
}

.spinner-overlay[style*="display: flex"] .spinner-inner::before {
    animation-play-state: running;
}

.spinner-inner::after {
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    border-top-color: rgba(255, 255, 255, 0.3);
    animation: spin 1.5s linear infinite;
    animation-play-state: paused;
}

.spinner-overlay[style*="display: flex"] .spinner-inner::after {
    animation-play-state: running;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Floating Search Button */
.floating-search-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    color: white;
    border: none;
    cursor: pointer;
    z-index: 99;
    transition: all 0.3s ease;
    display: none;
    align-items: center;
    justify-content: center;
}

.floating-search-btn i {
    font-size: 1.2rem;
}

.floating-search-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.floating-search-btn.show {
    display: flex;
    animation: slideUp 0.3s ease-out;
}

/* Mobile Search Styles */
@media (max-width: 768px) {
    .search-container {
        position: relative;
        padding: 0 15px;
        margin-top: 15px;
        width: 100%;
        max-width: 100%;
    }

    #searchInput {
        padding: 12px 20px 12px 45px;
        font-size: 16px;
        width: 100%;
        background: white;
        border-radius: 50px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    .search-icon {
        left: 30px;
        font-size: 1rem;
    }

    .hero-section {
        padding: 100px 0 30px;
    }

    .filter-section {
        padding: 15px 0;
        top: 0;
    }
}

/* Hide elements when scrolling down */
.hide-on-scroll {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

/* Show elements when scrolling up */
.show-on-scroll {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

.whatsapp-spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.whatsapp-unique-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #25D366;
    border-radius: 50%;
    animation: whatsapp-spin 1s linear infinite;
}

@keyframes whatsapp-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media screen and (max-width: 768px) {
    .whatsapp-unique-spinner {
        width: 40px;
        height: 40px;
        border-width: 4px;
    }
}
