/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
    background-color: rgb(255, 255, 255);
    min-height: 100vh;
    padding-top: 70px;
    line-height: 1.6;
    width: 100%;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

.word {
    color: #d0f4e3;
    transition: all 0.3s ease;
}

/* Removed word hover effects */

* {
    font-family: 'Dosis', sans-serif;
    font-family: 'EB Garamond', serif;
    text-decoration: wavy;
}

/* Container for responsive layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}
/* Responsive slider */
.slider {
    height: clamp(200px, 30vw, 250px);
    margin: 20px auto;
    position: relative;
    width: 95%;
    max-width: 1200px;
    display: flex;
    place-items: center;
    overflow: hidden;
}

.slide-track {
    display: flex;
    width: calc(clamp(200px, 25vw, 250px) * 18);
    animation: scroll 40s linear infinite;
}

/* Removed slide-track hover effects */

@keyframes scroll{
    0%{
        transform: translatex(clamp(200px, 25vw, 250px));
    }
    100%{
        transform: translatex(calc(clamp(200px, 25vw, 250px) * -9));
    }
}

.slide{
    height: clamp(160px, 20vw, 200px);
    width: clamp(200px, 25vw, 250px);
    display: flex;
    align-items: center;
    padding: 15px;
    perspective: 100px;
    flex-shrink: 0;
    position: relative;
}

img{
    width: 100%;
    height: auto;
    max-width: 100%;
    transition: transform 0.3s ease;
    border-radius: 8px;
}

/* Image hover effects */
img:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

video{
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 8px;
    cursor: pointer;
    pointer-events: auto;
    z-index: 10;
    transition: transform 0.3s ease, filter 0.3s ease, box-shadow 0.3s ease;
}

video:hover {
    transform: scale(1.02);
    filter: brightness(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

video:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/* Ensure video controls are always accessible */
video::-webkit-media-controls {
    pointer-events: auto !important;
}

video::-webkit-media-controls-panel {
    pointer-events: auto !important;
}

/* Removed video hover effects */

.slider::before,
.slider::after{
    background: linear-gradient (to right, rgba(255, 255, 255, 1)0%,
    rgba(255, 255, 255, 0)100%);
    content: '';
    height: 100%;
    position: absolute;
    width: 15%;
    z-index: 2;
}

.slider::before {
    left: 0;
    top: 0;
}
.slider::after {
    right: 0;
    top: 0;
    transform: rotateZ(180deg);
}

/* Responsive slide text */
.slide-text {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(134, 214, 214, 0.9);
    color: rgb(0, 0, 0);
    padding: 8px 12px;
    text-align: center;
    z-index: 2;
    border-radius: 4px;
    font-size: clamp(12px, 1.5vw, 16px);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Show slide text on hover */
.slide:hover .slide-text {
    display: block;
    opacity: 1;
}

/* Removed slide hover effects */

.slide img,
.slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease, filter 0.3s ease, box-shadow 0.3s ease;
}

.slide video {
    cursor: pointer;
    pointer-events: auto;
    position: relative;
    z-index: 10;
}

.slide video:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/* Hover effects for both images and videos */
.slide img:hover,
.slide video:hover {
    transform: scale(1.08);
    filter: brightness(1.1) contrast(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Additional hover effect for the entire slide */
.slide:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

.slide:hover img,
.slide:hover video {
    transform: scale(1.05);
}

/* Video controls should always be accessible */
.slide video::-webkit-media-controls {
    pointer-events: auto !important;
    z-index: 20;
}

.slide video::-webkit-media-controls-panel {
    pointer-events: auto !important;
    z-index: 20;
}

/* Responsive feed tables - Convert to grid layout */
.feeds-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.feed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.feed-item {
    text-align: center;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
    padding: 15px;
    height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.feed-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

.feed-item img {
    width: 100%;
    height: 180px;
    max-height: 180px;
    object-fit: cover;
    margin-bottom: 10px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.feed-item:hover img {
    transform: scale(1.1);
}

.feed-item:hover .word {
    transform: scale(1.1);
    color: #2e7d32;
    font-weight: bold;
}

.feed-item a {
    text-decoration: none;
    color: inherit;
}

.feed-item .word {
    font-size: clamp(14px, 2vw, 18px);
    font-weight: 600;
    color: #333;
    transition: all 0.3s ease;
}

/* Remove old table styles and replace with grid */
table {
    width: 100% !important;
    border-collapse: collapse;
    margin: 20px 0;
}

/* Responsive iframe */
.responsive-iframe {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    margin: 20px 0;
}

.responsive-iframe iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 8px;
}

/* Simple Map Card */
.map-card {
    max-width: 900px;
    margin: 40px auto;
    padding: 30px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border: 1px solid #e8f4f8;
}

.map-card h1 {
    font-family: 'EB Garamond', serif;
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
}






/* Media queries for responsive design */

/* Tablet styles */
@media screen and (max-width: 768px) {
    body {
        padding-top: 80px;
    }
    
    .header {
        padding: 15px 20px;
        height: 70px;
        display: flex !important;
        align-items: center;
        justify-content: space-between;
    }
    
    /* Hide desktop navigation on mobile */
    .nav-menu {
        display: none !important;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(243, 242, 242, 0.98);
        flex-direction: column !important;
        justify-content: center;
        align-items: center;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        z-index: 1001;
        backdrop-filter: blur(10px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    /* Hide navigation links when menu is not active */
    .nav-menu a {
        display: none !important;
    }
    
    /* Show mobile navigation when active */
    .nav-menu.active {
        display: flex !important;
        flex-direction: column !important;
        opacity: 1;
        visibility: visible;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background-color: rgba(243, 242, 242, 0.98) !important;
        justify-content: center !important;
        align-items: center !important;
        z-index: 1001 !important;
    }
    
    .nav-menu.active .nav-close {
        display: flex !important;
    }
    
    /* Hide hamburger menu when navigation is active */
    .header.menu-active .nav-toggle {
        display: none !important;
    }
    
    /* Show navigation links when menu is active */
    .nav-menu.active a {
        display: block !important;
        margin: 15px 0 !important;
        padding: 15px 30px !important;
        border-bottom: none !important;
        width: auto !important;
        text-align: center !important;
        font-size: 20px !important;
        border-radius: 8px !important;
        color: rgb(14, 10, 10) !important;
        text-decoration: none !important;
        min-width: 200px !important;
        background-color: rgba(255, 255, 255, 0.1) !important;
    }
    
    .feed-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 15px;
    }
    
    .slider {
        width: 100%;
        margin: 15px auto;
    }
    
    .slide {
        padding: 10px;
    }
    
    .content-wrapper {
        padding: 0 15px;
    }
    
    .cards-container {
        column-count: 1;
    }
}

/* Mobile styles */
@media screen and (max-width: 480px) {
    body {
        padding-top: 70px;
    }
    
    .header {
        padding: 12px 15px;
        height: 60px;
        display: flex !important;
        align-items: center;
        justify-content: space-between;
    }
    
    .header img {
        height: 40px;
        width: auto;
    }
    
    .nav-close {
        top: 10px;
        right: 15px;
        font-size: 20px;
        width: 30px;
        height: 30px;
    }
    
    .header a {
        font-size: 20px;
        margin: 12px 0;
        padding: 12px 25px;
    }
    
    .feed-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 10px;
    }
    
    .feed-item {
        padding: 10px;
        height: 180px;
    }
    
    .feed-item img {
        height: 100px;
        max-height: 100px;
    }
    
    .slider {
        height: 150px;
        margin: 10px auto;
    }
    
    .slide {
        height: 120px;
        width: 150px;
        padding: 8px;
    }
    
    .slide-text {
        font-size: 11px;
        padding: 4px 8px;
    }
    
    .content-wrapper {
        padding: 0 10px;
    }
    
    p {
        padding: 0 5px;
        font-size: 14px;
    }
    
    h1 {
        margin: 15px 0;
    }
    
    /* Contact form mobile styling */
    .elfsight-app-d1259484-a5e0-448e-a6da-0b2e8f67d17e {
        padding: 15px !important;
        margin: 0 10px !important;
    }
    
    .elfsight-app-d1259484-a5e0-448e-a6da-0b2e8f67d17e button {
        padding: 10px 20px !important;
        font-size: 14px !important;
    }
    
    /* Map card mobile styles */
    .map-card {
        margin: 20px 10px;
        padding: 20px 15px;
    }
    
    .map-card h1 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
}

/* Large desktop styles */
@media screen and (min-width: 1200px) {
    .feed-grid {
        grid-template-columns: repeat(5, 1fr);
    }
    
    .content-wrapper {
        max-width: 1400px;
    }
}

/* Animation text begins (kept as comment for potential future use) */
/*
h3{
    color: #7e9dcb97;
    font-family: Garamond;
    font-size: 2em;
    text-align: top;
}
h3 span
{
    opacity: 0;
    animation: animate 1s linear forwards;
    -webkit-animation: animate 1s linear forwards;
}
@keyframes animate
{
    0%
    {
        opacity: 0;
        transform: rotateY(90deg);
        filter: blur(10px);
}
100%
{
        opacity: 1;
        transform: matrix3d(546);
        filter: blur(0px);

}
}

h3 span:nth-child(1)
{
    animation-delay: 1s;
}
h3 span:nth-child(2)
{
    animation-delay: 1.5s;
}
h3 span:nth-child(3)
{
    animation-delay:2s;
}
h3 span:nth-child(4)
{
    animation-delay: 2.5s;
}
h3 span:nth-child(5)
{
    animation-delay: 3S;
}
h3 span:nth-child(6)
{
    animation-delay: 3.5s;
}
h3 span:nth-child(7)
{
    animation-delay: 4s;
}
h3 span:nth-child(8)
{
    animation-delay: 4.5s;
}h3 span:nth-child(9)
{
    animation-delay: 5s;
}h3 span:nth-child(10)
{
    animation-delay: 5.5s;
}
*/
/* Animation ends here */

/* Header styles - Responsive */
.header {
    display: flex !important;
    justify-content: center;
    align-items: center;
    background-color: #f3f2f2;
    padding: 10px 20px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    text-decoration: overline;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    width: 100%;
    visibility: visible !important;
}

.header img {
    position: absolute;
    left: 20px;
    height: clamp(40px, 8vw, 60px);
    width: auto;
    transition: transform 0.3s ease;
}

.header a {
    text-decoration: none;
    font-size: clamp(16px, 2.5vw, 25px);
    color: rgb(14, 10, 10);
    margin: 0 10px;
    padding: 8px 12px;
    border-radius: 4px;
}

.header img:hover {
    transform: scale(1.05);
}

/* Mobile navigation */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
    border-radius: 4px;
    position: absolute;
    right: 20px;
}

/* Show hamburger only on mobile */
@media screen and (max-width: 768px) {
    .nav-toggle {
        display: flex;
        z-index: 1002;
        flex-direction: column;
        padding: 8px;
        cursor: pointer;
        background: none;
        border: none;
        border-radius: 4px;
    }
    
    .nav-toggle span {
        width: 25px;
        height: 3px;
        background-color: rgb(14, 10, 10);
        margin: 3px 0;
        border-radius: 2px;
        display: block;
    }
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: rgb(14, 10, 10);
    margin: 3px 0;
    border-radius: 2px;
    /* No transitions or animations */
}

/* Desktop navigation menu */
.nav-menu {
    display: flex !important;
    align-items: center;
    position: static;
    background: none;
    flex-direction: row !important;
    width: auto;
    height: auto;
    opacity: 1;
    visibility: visible;
}

/* Close button for mobile menu */
.nav-close {
    display: none;
    position: absolute;
    top: 15px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgb(14, 10, 10);
    font-size: 24px;
    cursor: pointer;
    color: rgb(14, 10, 10);
    padding: 5px;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    z-index: 1003;
}

/* Show close button when menu is active */
.nav-menu.active .nav-close {
    display: flex !important;
}

/* Contact form and general button improvements */
.elfsight-app-d1259484-a5e0-448e-a6da-0b2e8f67d17e button,
button:not(.nav-toggle):not(.nav-close):not(#okButton) {
    background-color: #4CAF50 !important;
    color: white !important;
    border: none !important;
    padding: 12px 24px !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    font-weight: 600 !important;
}

/* Beautiful animated submit button for contact form - Multiple targeting approaches */
.elfsight-app-d1259484-a5e0-448e-a6da-0b2e8f67d17e button[type="submit"],
.elfsight-app-d1259484-a5e0-448e-a6da-0b2e8f67d17e button,
.elfsight-app-d1259484-a5e0-448e-a6da-0b2e8f67d17e input[type="submit"],
.elfsight-app-d1259484-a5e0-448e-a6da-0b2e8f67d17e .btn,
.elfsight-app-d1259484-a5e0-448e-a6da-0b2e8f67d17e .submit-btn,
.elfsight-app-d1259484-a5e0-448e-a6da-0b2e8f67d17e .button,
.elfsight-app-d1259484-a5e0-448e-a6da-0b2e8f67d17e [role="button"] {
    --color-text: #ffffff !important;
    --color-background: #ff135a !important;
    --color-outline: #ff145b80 !important;
    --color-shadow: #00000080 !important;
    
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px 30px !important;
    text-decoration: none !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    color: var(--color-text) !important;
    background: var(--color-background) !important;
    transition: all 0.5s ease !important;
    border-radius: 50px !important;
    box-shadow: 0 0 0.2em 0 var(--color-background) !important;
    border: none !important;
    cursor: pointer !important;
    position: relative !important;
    overflow: hidden !important;
    min-height: 40px !important;
}

.elfsight-app-d1259484-a5e0-448e-a6da-0b2e8f67d17e button:hover,
.elfsight-app-d1259484-a5e0-448e-a6da-0b2e8f67d17e input[type="submit"]:hover,
.elfsight-app-d1259484-a5e0-448e-a6da-0b2e8f67d17e .btn:hover,
.elfsight-app-d1259484-a5e0-448e-a6da-0b2e8f67d17e .submit-btn:hover,
.elfsight-app-d1259484-a5e0-448e-a6da-0b2e8f67d17e .button:hover,
.elfsight-app-d1259484-a5e0-448e-a6da-0b2e8f67d17e [role="button"]:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 0 0.6em 0 var(--color-background) !important;
    animation: btn-pulse 1s ease-in-out !important;
}

.elfsight-app-d1259484-a5e0-448e-a6da-0b2e8f67d17e button::after,
.elfsight-app-d1259484-a5e0-448e-a6da-0b2e8f67d17e input[type="submit"]::after,
.elfsight-app-d1259484-a5e0-448e-a6da-0b2e8f67d17e .btn::after,
.elfsight-app-d1259484-a5e0-448e-a6da-0b2e8f67d17e .submit-btn::after {
    content: ' →' !important;
    margin-left: 5px !important;
    transition: all 0.3s ease !important;
    transform: translateX(-10px) !important;
    opacity: 0 !important;
}

.elfsight-app-d1259484-a5e0-448e-a6da-0b2e8f67d17e button:hover::after,
.elfsight-app-d1259484-a5e0-448e-a6da-0b2e8f67d17e input[type="submit"]:hover::after,
.elfsight-app-d1259484-a5e0-448e-a6da-0b2e8f67d17e .btn:hover::after,
.elfsight-app-d1259484-a5e0-448e-a6da-0b2e8f67d17e .submit-btn:hover::after {
    transform: translateX(0px) !important;
    opacity: 1 !important;
    margin-left: 10px !important;
}

/* Alternative targeting for dynamically loaded content */
div[class*="elfsight"] button,
div[id*="elfsight"] button,
[class*="contact"] button,
[id*="contact"] button {
    --color-text: #ffffff !important;
    --color-background: #ff135a !important;
    background: var(--color-background) !important;
    color: var(--color-text) !important;
    border-radius: 50px !important;
    padding: 10px 25px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    border: none !important;
}

div[class*="elfsight"] button:hover,
div[id*="elfsight"] button:hover,
[class*="contact"] button:hover,
[id*="contact"] button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(255, 19, 90, 0.4) !important;
}

/* Button animation keyframes */
@keyframes btn-pulse {
    0% {
        box-shadow: 0 0 0.2em 0 var(--color-background);
        outline: 0.1em solid transparent;
        outline-offset: 0;
    }
    50% {
        box-shadow: 0 0 0.6em 0 var(--color-background);
        outline: 0.1em solid var(--color-outline);
        outline-offset: 0.1em;
    }
    100% {
        box-shadow: 0 0 0.4em 0 var(--color-background);
        outline: 0.1em solid transparent;
        outline-offset: 0.2em;
    }
}

/* Removed button hover effects */

/* Contact form styling improvements */
.elfsight-app-d1259484-a5e0-448e-a6da-0b2e8f67d17e {
    max-width: 600px !important;
    margin: 0 auto !important;
    padding: 20px !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
}

/* Contact section centering */
#contact {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Responsive Typography */
h1 {
    font-size: clamp(24px, 4vw, 48px);
    margin: 20px 0;
    text-align: center;
}

h3 {
    font-size: clamp(18px, 3vw, 24px);
}

p {
    font-size: clamp(16px, 2vw, 20px);
    margin: 10px 0;
    padding: 0 10px;
    text-align: justify;
}

/* Responsive content wrapper */
.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}
  
  