/*
Theme Name: PTENOTE Blog
Theme URI: https://ptenote.com/
Author: DeepBhikadiya
Author URI: https://ptenote.com/
Description: A modern blog theme for PTENOTE - PTE Academic preparation platform.
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ptenoteblog
Tags: blog, education, custom-header, custom-menu, featured-images
*/

.floating-card {
    transition: filter 0.4s ease-in-out, opacity 0.4s ease-in-out;
    filter: blur(0);
    opacity: 1;
}

.floating-card.dimmed {
    filter: blur(2px);
    opacity: 0.55;
}

.floating-card.hovered {
    filter: blur(0);
    opacity: 1;
    z-index: 30;
}

@media (max-width: 1023px) {
    .floating-card {
        position: static !important;
        transform: none !important;
        margin: 0 0 1.75rem !important;
        width: 100% !important;
        max-width: none !important;
    }
}

.hero-graphics {



    position: relative;



    width: clamp(220px, 60%, 320px);



    height: 160px;



    pointer-events: none;



}







.hero-graphics .bubble {



    position: absolute;



    border-radius: 9999px;



    background: linear-gradient(140deg,



            rgba(255, 255, 255, 0.75),



            rgba(255, 255, 255, 0));



    box-shadow: 0 35px 55px -35px rgba(15, 23, 42, 0.45);



    opacity: 0.6;



    animation: float-soft 10s ease-in-out infinite;



}







.hero-graphics .bubble::after {



    content: "";



    position: absolute;



    inset: 18%;



    border-radius: inherit;



    background: rgba(255, 255, 255, 0.45);



    filter: blur(14px);



    opacity: 0.7;



}







.hero-graphics .bubble-1 {



    width: 160px;



    height: 160px;



    top: -12px;



    left: -12px;



}







.hero-graphics .bubble-2 {



    width: 120px;



    height: 120px;



    top: 28px;



    left: 132px;



    animation-duration: 12s;



    animation-delay: 1.2s;



    background: linear-gradient(160deg,



            rgba(250, 204, 21, 0.35),



            rgba(255, 255, 255, 0.1));



}







.hero-graphics .bubble-3 {



    width: 90px;



    height: 90px;



    top: 74px;



    left: 38px;



    animation-duration: 8s;



    animation-delay: 0.6s;



    background: linear-gradient(180deg,



            rgba(59, 130, 246, 0.25),



            rgba(255, 255, 255, 0.05));



}







.hero-graphics .ring {



    position: absolute;



    width: 140px;



    height: 140px;



    top: 18px;



    left: 96px;



    border-radius: 9999px;



    border: 1px solid rgba(15, 23, 42, 0.12);



    opacity: 0.45;



    animation: float-soft 14s ease-in-out infinite 1.4s;



}







@keyframes float-soft {



    0%,



    100% {



        transform: translateY(0px);



    }



    50% {



        transform: translateY(-12px);



    }



}



@media (max-width: 1023px) {







    .floating-card {







        position: static !important;







        transform: none !important;







        margin: 0 0 1.75rem !important;







        width: 100% !important;







        max-width: none !important;







    }







    .floating-card.hovered {







        transform: none !important;







    }







}







@media (max-width: 768px) {



    .floating-card {



        position: static !important;



        transform: none !important;



        margin: 0 0 1.75rem !important;



        width: 100% !important;



        max-width: none !important;



        filter: blur(0px);



        opacity: 1;



    }



    .floating-card.hovered {



        transform: none !important;



    }



}







.question-badge {



    display: inline-flex;



    align-items: center;



    gap: 0.35rem;



    padding: 0.35rem 0.9rem;



    border-radius: 9999px;



    background: linear-gradient(135deg, rgba(17, 24, 39, 0.95), rgba(30, 41, 59, 0.85));



    color: #fde047;



    letter-spacing: 0.18em;



    font-size: 0.75rem;



    font-weight: 700;



    text-transform: uppercase;



    box-shadow: 0 18px 36px -24px rgba(15, 23, 42, 0.85);



}



.question-badge::before {



    content: '';



    width: 0.4rem;



    height: 0.4rem;



    border-radius: 9999px;



    background: #4afa15;



    box-shadow: 0 0 12px rgba(250, 204, 21, 0.85);



}







.contact-number-highlight {



    position: relative;



    display: inline-flex;



    align-items: center;



    gap: 0.5rem;



    margin-left: 0.35rem;



    padding: 0.3rem 1rem;



    border-radius: 0.95rem;



    background: rgba(253, 224, 71, 0.16);



    color: #0f172a;



    box-shadow: 0 0 0 0 rgba(253, 224, 71, 0.65);



    text-shadow: 0 0 4px rgba(253, 224, 71, 0.65);



    animation: contact-glow 3s ease-in-out infinite;



    overflow: visible;



}



.contact-number-highlight::before {



    content: '';



    position: absolute;



    inset: -8px;



    border-radius: inherit;



    background: radial-gradient(circle at center, rgba(253, 224, 71, 0.35), rgba(253, 224, 71, 0));



    opacity: 0;



    animation: halo-breathe 3s ease-in-out infinite;



}



.contact-number-highlight::after {



    content: '';



    position: absolute;



    inset: -3px;



    border-radius: inherit;



    border: 1px solid rgba(253, 224, 71, 0.55);



    box-shadow: 0 0 0 0 rgba(253, 224, 71, 0.6);



    animation: ring-pulse 2.8s ease-in-out infinite;



}







.contact-number-highlight svg {



    position: relative;



    z-index: 1;



    width: 1rem;



    height: 1rem;



    color: #b45309;



    filter: drop-shadow(0 0 6px rgba(253, 224, 71, 0.45));



}







.contact-number-highlight span {



    position: relative;



    z-index: 1;



}







.contact-number-digits {



    font-weight: 800;



    letter-spacing: 0.08em;



    font-size: 1.05rem;



}







@keyframes contact-glow {



    0%,
    100% {



        box-shadow: 0 0 0 0 rgba(253, 224, 71, 0.55), 0 10px 30px -18px rgba(253, 224, 71, 0.85);



        text-shadow: 0 0 6px rgba(253, 224, 71, 0.9);



    }



    45% {



        box-shadow: 0 0 0 6px rgba(253, 224, 71, 0), 0 18px 42px -16px rgba(253, 224, 71, 0.98);



        text-shadow: 0 0 16px rgba(253, 224, 71, 1);



    }



    65% {



        box-shadow: 0 0 0 0 rgba(253, 224, 71, 0), 0 12px 34px -18px rgba(250, 204, 21, 0.75);



        text-shadow: 0 0 9px rgba(250, 204, 21, 0.85);



    }



}







@keyframes halo-breathe {



    0%,
    100% {



        opacity: 0.2;



        transform: scale(0.95);



    }



    50% {



        opacity: 0.45;



        transform: scale(1.08);



    }



}







@keyframes ring-pulse {



    0% {



        transform: scale(0.96);



        opacity: 0.75;



        box-shadow: 0 0 0 0 rgba(253, 224, 71, 0.55);



    }



    70% {



        transform: scale(1.18);



        opacity: 0;



        box-shadow: 0 0 0 12px rgba(253, 224, 71, 0);



    }



    100% {



        opacity: 0;



        transform: scale(1.2);



    }



}








/* Header responsive tweaks */
.header-actions {
    gap: 0.75rem;
}

.header-contact-text {
    display: block;
}

@media (max-width: 767px) {
    .header-nav {
        gap: 1.5rem;
    }

    .header-actions {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .header-contact {
        flex: 1 1 100%;
        width: 100%;
    }

    .header-contact .question-badge {
        font-size: 0.65rem;
        padding: 0.3rem 0.75rem;
        letter-spacing: 0.12em;
    }

    .header-contact-text {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .contact-number-highlight {
        margin-left: 0;
        padding: 0.25rem 0.75rem;
    }

    .contact-number-highlight svg {
        width: 1rem;
        height: 1rem;
    }

    .header-actions button {
        flex-shrink: 0;
    }
}

@media (min-width: 768px) {
    .header-actions {
        gap: 1rem;
    }
}

/* Enhanced Mobile Responsive Styles (Small Phones) */
@media (max-width: 640px) {
    body {
        overflow-x: hidden;
    }

    /* Hero Section */
    main {
        padding-top: 6rem !important;
        padding-bottom: 3rem !important;
    }

    .space-y-6 {
        padding-top: 0 !important;
    }

    h1 {
        font-size: 2rem !important;
        line-height: 1.2 !important;
    }

    h1 br {
        display: inline !important;
    }

    p.text-lg,
    p.text-xl {
        font-size: 1rem !important;
        line-height: 1.6 !important;
    }

    /* CTA Button */
    .flex.items-center.gap-4 {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }

    .flex.items-center.gap-4 button {
        width: 100%;
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
        text-align: center;
    }

    /* Blog Cards */
    .floating-card {
        padding: 1.25rem !important;
        min-height: 20rem !important;
        margin-bottom: 1.25rem !important;
    }

    .floating-card h3 {
        font-size: 1.1rem !important;
        line-height: 1.4 !important;
        margin-bottom: 0.75rem;
    }

    .floating-card p {
        font-size: 0.875rem !important;
        line-height: 1.5 !important;
        margin-bottom: 1rem !important;
    }

    .floating-card img {
        max-height: 180px !important;
        margin-bottom: 0.875rem !important;
    }

    .floating-card a.inline-flex {
        font-size: 0.825rem !important;
        padding: 0.625rem 1rem !important;
    }

    /* Latest Blog Section */
    h2.text-2xl,
    h2.text-3xl {
        font-size: 1.5rem !important;
    }

    .mt-10 {
        margin-top: 2rem !important;
    }

    .mt-20,
    .mt-28 {
        margin-top: 3rem !important;
    }

    /* Grid Blog Cards */
    [data-card-grid] {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    [data-card-grid] article {
        padding: 1.25rem !important;
    }

    [data-card-grid] article h3 {
        font-size: 1rem !important;
    }

    [data-card-grid] article p {
        font-size: 0.875rem !important;
    }

    /* Pagination */
    .mt-10.flex.items-center.justify-center {
        margin-top: 2rem !important;
        flex-wrap: wrap;
        gap: 0.5rem !important;
    }

    .mt-10.flex.items-center.justify-center a {
        padding: 0.5rem 0.75rem !important;
        font-size: 0.8rem !important;
        min-width: 40px;
    }

    /* Mobile bottom navigation */
    .max-\\[768px\\]\\:flex {
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
        padding: 0.75rem 0.5rem;
        max-width: 95vw;
        gap: 1rem !important;
    }

    .max-\\[768px\\]\\:flex a {
        font-size: 0.75rem !important;
        padding: 0.5rem;
        white-space: nowrap;
    }

    /* Hero Graphics hidden on mobile */
    .hero-graphics {
        display: none !important;
    }

    /* Better spacing for sections */
    section {
        padding: 0 !important;
    }

    .flex-col.gap-4 {
        gap: 1rem !important;
    }
}

/* Tablet Responsive Styles (641px - 1024px) */
@media (min-width: 641px) and (max-width: 1024px) {

    /* Main Content */
    main {
        padding-top: 7rem;
    }

    h1 {
        font-size: 2.5rem !important;
        line-height: 1.15 !important;
    }

    p.text-lg,
    p.text-xl {
        font-size: 1.125rem !important;
    }

    /* Blog Cards in Hero */
    .floating-card {
        padding: 1.5rem !important;
        min-height: 22rem !important;
    }

    .floating-card h3 {
        font-size: 1.15rem !important;
    }

    .floating-card img {
        max-height: 200px !important;
    }

    /* Grid Layout */
    [data-card-grid] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }

    h2.text-2xl,
    h2.text-3xl {
        font-size: 1.75rem !important;
    }

    /* Better spacing */
    .space-y-6,
    .space-y-8 {
        gap: 1.5rem !important;
    }
}

/* Medium Tablets (768px - 900px) */
@media (min-width: 768px) and (max-width: 900px) {
    .grid.md\\:grid-cols-2 {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }

    .md\\:sticky {
        position: relative !important;
    }

    [data-floating-container] {
        margin-top: 0 !important;
    }
}

/* Very Small Mobile (max 380px) */
@media (max-width: 380px) {
    h1 {
        font-size: 1.75rem !important;
    }

    .floating-card {
        padding: 1rem !important;
        min-height: 18rem !important;
    }

    .floating-card h3 {
        font-size: 1rem !important;
    }

    .floating-card img {
        max-height: 150px !important;
    }

    main {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }

    /* Smaller navigation */
    .max-\\[768px\\]\\:flex {
        padding: 0.5rem 0.35rem;
        gap: 0.5rem !important;
    }

    .max-\\[768px\\]\\:flex a {
        font-size: 0.65rem !important;
        padding: 0.4rem 0.3rem;
    }
}

/* Landscape Mobile */
@media (max-width: 926px) and (orientation: landscape) {
    main {
        padding-top: 5rem !important;
    }

    h1 {
        font-size: 2rem !important;
    }

    .space-y-6 {
        gap: 1rem !important;
    }
}

/* Touch device improvements */
@media (hover: none) and (pointer: coarse) {

    .floating-card a,
    button,
    [data-category-button] {
        min-height: 44px;
        min-width: 44px;
    }

    .floating-card {
        cursor: pointer;
    }

    /* Disable hover effects on touch */
    .floating-card:hover {
        transform: none !important;
        filter: none !important;
    }
}

/* Improve grid at breakpoints */
@media (min-width: 641px) and (max-width: 768px) {
    [data-card-grid] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (min-width: 900px) and (max-width: 1200px) {
    [data-card-grid] {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* Fix overflow issues */
@media (max-width: 1024px) {
    * {
        max-width: 100%;
    }

    img {
        height: auto;
    }

    .overflow-x-hidden {
        overflow-x: hidden !important;
    }
}


 /* Footer Styles */
      .footer-section {
        background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
        color: #e5e7eb;
        padding: 3.5rem 0 0;
        margin-top: 4rem;
        border-top: 3px solid #facc15;
      }

      .footer-container {
        max-width: 1280px;
        margin: 0 auto;
        padding: 0 2rem;
      }

      .footer-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 3rem;
        padding-bottom: 3rem;
        border-bottom: 1px solid rgba(250, 204, 21, 0.2);
      }

      .footer-column {
        display: flex;
        flex-direction: column;
        gap: 1rem;
      }

      .footer-heading {
        font-size: 1.125rem;
        font-weight: 700;
        color: rgb(189, 171, 37);
        margin-bottom: 0.5rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
      }

      .footer-contact {
        color: rgb(189, 171, 37);
        font-size: 2rem;
        font-weight: 800;
        text-transform: uppercase;
        
      }

      .contact-item {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
      }

      .contact-label {
        font-size: 0.875rem;
        color: #9ca3af;
        font-weight: 500;
      }

      .contact-link {
        font-size: 2rem;
        font-weight: 700;
        color: #ffffff;
        text-decoration: none;
        transition: color 0.2s ease;
      }

      .contact-link:hover {
        color: #facc15;
      }

      .footer-links {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
      }

      .footer-links li a {
        color: #d1d5db;
        text-decoration: none;
        font-size: 0.9375rem;
        transition: all 0.2s ease;
        
      }

      .footer-links li a:hover {
        color: #facc15;
        transform: translateX(4px);
      }

      .download-link {
        display: flex;
        align-items: center;
        gap: 0.5rem;
      }

      .pdf-icon {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
        object-fit: contain;
      }

      .footer-bottom {
        padding: 2rem 0;
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
        align-items: center;
        text-align: center;
      }

      .footer-legal-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 0.75rem;
        font-size: 0.9375rem;
      }

      .footer-legal-links a {
        color: #d1d5db;
        text-decoration: none;
        transition: color 0.2s ease;
      }

      .footer-legal-links a:hover {
        color: #facc15;
      }

      .footer-legal-links .separator {
        color: #6b7280;
      }

      .footer-copyright {
        color: #9ca3af;
        font-size: 0.875rem;
        line-height: 1.6;
      }

      .footer-copyright p {
        margin: 0;
      }

      /* Footer Responsive Styles */
      @media (max-width: 1024px) {
        .footer-grid {
          grid-template-columns: repeat(2, 1fr);
          gap: 2.5rem;
        }

        .footer-downloads {
          grid-column: span 2;
        }
      }

      @media (max-width: 768px) {
        .footer-section {
          padding: 2.5rem 0 0;
          margin-top: 3rem;
        }

        .footer-container {
          padding: 0 1.5rem;
        }

        .footer-grid {
          grid-template-columns: 1fr;
          gap: 2rem;
          padding-bottom: 2rem;
        }

        .footer-downloads {
          grid-column: span 1;
        }

        .footer-bottom {
          padding: 1.5rem 0;
        }

        .footer-legal-links {
          flex-direction: column;
          gap: 0.5rem;
        }

        .footer-legal-links .separator {
          display: none;
        }
      }

      @media (max-width: 480px) {
        .footer-section {
          padding: 2rem 0 0;
          margin-top: 2rem;
        }

        .footer-container {
          padding: 0 1rem;
        }

        .footer-heading {
          font-size: 1rem;
        }

        .contact-link {
          font-size: 1rem;
        }

        .footer-links li a {
          font-size: 0.875rem;
        }

        .footer-copyright {
          font-size: 0.8125rem;
        }
      }



      