/* Base Styles */
:root {
    --primary-color: #4CAF50;
    --primary-dark: #3d8b40;
    --secondary-color: #FFC107;
    --accent-color: #FF5722;
    --text-color: #333;
    --text-light: #666;
    --light-color: #f9f9f9;
    --white: #fff;
    --dark: #222;
    --gray: #e0e0e0;
    --gray-dark: #757575;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --section-padding: 80px 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
 .dropdown {
    position: relative;
    display: inline-block;
  }
  .dropdown-menu {
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    list-style: none;
    padding: 0;
    margin: 0;
  }
.dropdown-toggle:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}
.dropdown-toggle:hover:after {
    width: 100%;
}
.nav-links span {
    font-weight: 500;
    padding: 5px 0;
    cursor: pointer;
}




  .dropdown-menu li a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
  }
  .dropdown-menu li a:hover {
    background-color: #f1f1f1;
  }
  .caret {
    margin-left: 5px;
  }
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--light-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-align: center;
    text-decoration: none;
    color: inherit;
    font-weight: 500;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-large {
    padding: 12px 30px;
    font-size: 1.1rem;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-login {
    background-color: transparent;
    color: var(--text-color);
    margin-right: 10px;
    font-weight: 500;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
}

.btn-login:hover {
    color: var(--primary-color);
}

section {
    padding: var(--section-padding);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    color: var(--dark);
    margin-bottom: 30px;
}

.section-title span {
    color: var(--primary-color);
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 20px;
}

.section-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.decoration-line {
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
    margin: 0 15px;
}

.decoration-icon {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
}

.loader {
    position: relative;
    width: 150px;
    height: 150px;
}

.tractor {
    position: absolute;
    width: 60px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 10px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: tractor-move 2s infinite ease-in-out;
}

.tractor:before {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    top: -5px;
    left: 10px;
}

.tractor:after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    bottom: -5px;
    right: 10px;
}

.track {
    position: absolute;
    width: 100%;
    height: 10px;
    background-color: var(--gray);
    border-radius: 5px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.track:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--gray-dark);
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

@keyframes tractor-move {
    0%, 100% {
        left: 20%;
    }
    50% {
        left: 80%;
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
}
.logomot{
  color: white;
}
.logo-img {
height: 90px;
width: 140px;
}

.logo-vet {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin: 0 15px;
    position: relative;
}

.nav-links a {
    font-weight: 500;
    padding: 5px 0;
}

.nav-links a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}
/* Active link underline */
.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;  /* Always full */
    height: 2px;
    background-color: var(--primary-color);
}


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

.auth-buttons {
    display: flex;
    align-items: center;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding-top: 120px;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1) 0%, rgba(255, 255, 255, 1) 100%);
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    min-height: calc(100vh - 120px);
}

.hero-content {
    flex: 1;
    padding-right: 50px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-title span {
    color: var(--primary-color);
    display: block;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image {
    flex: 1;
    position: relative;
}

.image-container {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.main-image {
    display: block;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.floating-animals {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.animal {
    position: absolute;
    border-radius: 50%;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.cow {
    width: 100px;
    height: 100px;
    top: -20px;
    right: -20px;
    animation: float 6s ease-in-out infinite;
}

.sheep {
    width: 80px;
    height: 80px;
    bottom: 50px;
    left: -30px;
    animation: float 7s ease-in-out infinite;
}

.chicken {
    width: 60px;
    height: 60px;
    top: 50%;
    right: -30px;
    animation: float 5s ease-in-out infinite;
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-delay {
    animation: float 7s ease-in-out 1s infinite;
}

.animate-float-delay-2 {
    animation: float 5s ease-in-out 2s infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" fill="%234CAF50" opacity=".25"/><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" fill="%234CAF50" opacity=".5"/><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%234CAF50"/></svg>');
    background-size: cover;
    background-repeat: no-repeat;
    z-index: -1;
}

/* Stats Section */
.stats {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0;
    margin-top: -1px;
}

.stats .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 30px;
}

.stat-card {
    text-align: center;
    padding: 30px 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
}

.stat-label {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.stat-icon {
    font-size: 2rem;
    color: var(--secondary-color);
}

/* zedtha taw */

.slider {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 500px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
}

/* Hide arrows if no ads */
.slider.no-ads .prev,
.slider.no-ads .next {
    display: none;
}

/* ===== EACH SLIDE ===== */
.slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-size: contain;       /* full image visible */
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}
.slide.active { opacity: 1; }

/* Slide content */
.slide-content {
    position: absolute;
    left: 40px;
    bottom: 40px;
    color: white;
    z-index: 2;
    text-align: left;
    max-width: 60%;
}
.slide-content h2 {
    font-size: 22px;
    margin-bottom: 6px;
    font-weight: 600;
}
.slide-content p {
    font-size: 15px;
    margin-bottom: 10px;
    opacity: 0.9;
}

/* Button Societe */
.btn-societe {
    display: inline-block;
    padding: 8px 18px;
    background: #fff;
    color: #333;
    font-weight: 500;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.btn-societe:hover {
    background: #f5f5f5;
    color: #000;
    transform: scale(1.05);
}

/* Arrows */
.slider .prev,
.slider .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border-radius: 50%;
    border: none;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    color: gray;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 5;
}
.slider .prev:hover,
.slider .next:hover {
    transform: translateY(-50%) scale(1.1);
    color: black;
}
.slider .prev { left: 15px; }
.slider .next { right: 15px; }

/* Dots navigation */
.dots {
    position: absolute;
    bottom: 15px;
    width: 100%;
    text-align: center;
    z-index: 5;
}
.dot {
    display: inline-block;
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background: rgba(255,255,255,0.7);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}
.dot.active,
.dot:hover {
    background: white;
    transform: scale(1.2);
}

/* Default image adjustments */
.homeimg {
    border-radius: 12px;
    background-repeat: no-repeat;
}












/* Services Section */
/* Actualités Section */
.actualites {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.actualites::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(42, 107, 63, 0.03);
    border-radius: 50%;
    z-index: 1;
}

.actualites::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 150px;
    height: 150px;
    background: rgba(42, 107, 63, 0.02);
    border-radius: 50%;
    z-index: 1;
}

.actualites .container {
    position: relative;
    z-index: 2;
}

.actualites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.actualite-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
}

.actualite-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.actualite-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.actualite-image img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    transition: transform 0.5s ease;
}

.actualite-card:hover .actualite-image img {
    transform: scale(1.05);
}

.actualite-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2a6b3f 0%, #3d8e5d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.actualite-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--white);
    border-radius: 12px;
    padding: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.date-day {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.date-month {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    margin-top: 5px;
}

.actualite-content {
    padding: 25px;
}

.actualite-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark-text);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.actualite-excerpt {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.actualite-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.actualite-category {
    background: rgba(42, 107, 63, 0.1);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.actualite-read-time {
    color: var(--text-light);
    font-size: 0.9rem;
}

.actualite-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.actualite-link i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.actualite-link:hover {
    color: var(--primary-dark);
}

.actualite-link:hover i {
    transform: translateX(5px);
}

.actualites-actions {
    text-align: center;
    margin-top: 40px;
}

.actualites-actions .btn {
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 10px 20px rgba(42, 107, 63, 0.2);
    transition: all 0.3s ease;
}

.actualites-actions .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(42, 107, 63, 0.3);
}

.actualites-actions .btn i {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.actualites-actions .btn:hover i {
    transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 992px) {
    .actualites-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .actualites {
        padding: 60px 0;
    }
    
    .actualites-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .actualite-content {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .actualite-image {
        height: 180px;
    }
    
    .actualite-title {
        font-size: 1.2rem;
    }
    
    .actualites-actions .btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

/* Animation for cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.actualite-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.actualite-card:nth-child(1) { animation-delay: 0.1s; }
.actualite-card:nth-child(2) { animation-delay: 0.2s; }
.actualite-card:nth-child(3) { animation-delay: 0.3s; }
.actualite-card:nth-child(4) { animation-delay: 0.4s; }

/* Veterinarians Section */
.veterinarians {
    background-color: var(--white);
}

.vet-carousel {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 20px;
    scrollbar-width: none; /* Firefox */
}

.vet-carousel::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.vet-card {
    min-width: 350px;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    scroll-snap-align: start;
    transition: var(--transition);
}

.vet-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.vet-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.vet-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.vet-card:hover .vet-image img {
    transform: scale(1.1);
}

.vet-specialty {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.vet-info {
    padding: 20px;
}

.vet-name {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.vet-bio {
    color: var(--text-light);
    margin-bottom: 20px;
}

.vet-actions {
    display: flex;
    gap: 10px;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.carousel-prev, .carousel-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--light-color);
    border: none;
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-prev:hover, .carousel-next:hover {
    background-color: var(--primary-color);
    color: var(--white);
}



/* Resources Section */
/* Latest News Section - Unique Classes */
.latest-news-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #eef0f2 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

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

.ln-header {
    text-align: center;
    margin-bottom: 60px;
}

.ln-main-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    font-family: 'Playfair Display', serif;
}

.ln-highlight {
    color: #4CAF50;
    position: relative;
}

.ln-highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #4CAF50, #289f5a);
    border-radius: 2px;
}

.ln-subtitle {
    font-size: 1.2rem;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto 30px;
}

.ln-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
}

.ln-line {
    height: 2px;
    width: 80px;
    background: linear-gradient(90deg, transparent, #27ae60, transparent);
}

.ln-icon {
    width: 50px;
    height: 50px;
    background: #4CAF50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3);
}

/* Content Wrapper */
.ln-content-wrapper {
    position: relative;
}

.ln-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
    justify-content: center;
}

/* News Item */
.ln-item {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.08),
        0 2px 6px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    transform: translateY(0);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.ln-item:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.12),
        0 5px 15px rgba(0, 0, 0, 0.06);
}

.ln-visual-area {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.ln-image-holder {
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: transform 0.6s ease;
}

 

.ln-status-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #4CAF50;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    z-index: 2;
}

.ln-date-indicator {
    position: absolute;
    bottom: 10px;
    left: 20px;
    background: white;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    line-height: 1.2;
    z-index: 2;
}

.ln-day {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
}

.ln-month {
    display: block;
    font-size: 0.9rem;
    color: #7f8c8d;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}

.ln-text-content {
    padding: 40px 25px 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ln-item-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.4;
    font-family: 'Poppins', sans-serif;
}

.ln-summary {
    color: #5a6c7d;
    line-height: 1.6;
    margin-bottom: 25px;
    flex: 1;
    font-size: 0.95rem;
}

.ln-meta-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.ln-time-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ln-calendar-icon {
    font-size: 0.9rem;
    color: #7f8c8d;
}

.ln-full-date {
    font-size: 0.9rem;
    color: #7f8c8d;
}

.ln-action-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4CAF50;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(39, 174, 96, 0.1);
    font-size: 0.9rem;
}

.ln-action-link:hover {
    color: white;
    background: #4CAF50;
    transform: translateX(5px);
}

/* Empty State */
.ln-empty-state {
    text-align: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
}

.ln-empty-icon {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 20px;
}

.ln-empty-state h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.ln-empty-state p {
    color: #7f8c8d;
    font-size: 1.1rem;
}

/* View All Button */
.ln-view-all-container {
    text-align: center;
    margin-top: 30px;
}

.ln-view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #4CAF50;
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3);
}

.ln-view-all-btn:hover {
    background: #4CAF50;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(39, 174, 96, 0.4);
}

/* Animation */
@keyframes lnFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ln-item {
    animation: lnFadeInUp 0.6s ease forwards;
}

.ln-item:nth-child(1) { animation-delay: 0.1s; }
.ln-item:nth-child(2) { animation-delay: 0.2s; }
.ln-item:nth-child(3) { animation-delay: 0.3s; }
.ln-item:nth-child(4) { animation-delay: 0.4s; }
.ln-item:nth-child(5) { animation-delay: 0.5s; }
.ln-item:nth-child(6) { animation-delay: 0.6s; }

/* Responsive Design */
@media (max-width: 1024px) {
    .ln-items-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .latest-news-section {
        padding: 60px 0;
    }
    
    .ln-main-title {
        font-size: 2.2rem;
    }
    
    .ln-items-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .ln-text-content {
        padding: 30px 20px 20px;
    }
    
    .ln-item-title {
        font-size: 1.2rem;
    }
    
    .ln-meta-info {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .ln-action-link {
        align-self: flex-end;
    }
}

@media (max-width: 576px) {
    .ln-main-title {
        font-size: 1.8rem;
    }
    
    .ln-subtitle {
        font-size: 1rem;
    }
    
    .ln-visual-area {
        height: 180px;
    }
    
    .ln-view-all-btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
}

/* Contact Section */
.contact {
    background-color: var(--light-color);
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-subtitle {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.contact-method {
    display: flex;
    margin-bottom: 30px;
}

.method-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.method-title {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.method-info {
    font-weight: 500;
    margin-bottom: 5px;
}

.method-note {
    color: var(--text-light);
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--dark);
    transform: translateY(-5px);
}

.contact-form {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
}
.input-wrapper {
    position: relative;
}
.form-group {
    position: relative;
    margin-bottom: 25px;
}
input.form-control {
    width: 100%;
    padding: 10px 40px 10px 35px; /* leave space for icons */
    font-size: 16px;
    box-sizing: border-box;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--gray);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}
.homeIcon{
  margin-right: 8px;
}
.form-group textarea {
    min-height: 120px;
    resize: vertical;
        padding: 15px 20px 15px 50px;

}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
}

.form-group label {
    position: absolute;
    top: 15px;
    left: 15px;
    color: var(--text-light);
    pointer-events: none;
    transition: var(--transition);
    background-color: var(--white);
    padding: 0 5px;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group select:focus + label,
.form-group select:not([value=""]) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -10px;
    font-size: 0.8rem;
    color: var(--primary-color);
}

/* Newsletter Section */
/* Sponsors Section */
.sponsors {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.sponsors::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.sponsors::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.sponsors-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.sponsors-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.sponsors-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--white);
    border-radius: 2px;
}

.sponsors-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.sponsor-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
    min-height: 220px;
}

.sponsor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.sponsor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.sponsor-card:hover::before {
    opacity: 1;
}

.sponsor-img-container {
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

.sponsor-img {
    max-width: 200px;
    max-height: 100px;
    transition: all 0.4s ease;
}

.sponsor-card:hover .sponsor-img {
    transform: scale(1.05);
}

.sponsor-overlay {
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 0 0 16px 16px;
}

.sponsor-card:hover .sponsor-overlay {
    opacity: 1;
    transform: translateY(0);
}

.sponsor-overlay h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--white);
}

.sponsor-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

.sponsors-cta {
    text-align: center;
    position: relative;
    z-index: 2;
}

.sponsors-cta p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: var(--white);
    color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--white);
}

.cta-button:hover {
    background: transparent;
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 992px) {
    .sponsors-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .sponsors-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .sponsors {
        padding: 60px 0;
    }
    
    .sponsors-title {
        font-size: 2rem;
    }
    
    .sponsors-subtitle {
        font-size: 1.1rem;
    }
    
    .sponsor-card {
        padding: 20px;
        min-height: 200px;
    }
    
    .sponsor-img {
        max-width: 180px;
    }
}

@media (max-width: 576px) {
    .sponsors-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .sponsors-title {
        font-size: 1.8rem;
    }
    
    .sponsor-overlay {
        padding: 15px;
    }
    
    .sponsor-overlay h3 {
        font-size: 1.1rem;
    }
    
    .sponsor-overlay p {
        font-size: 0.85rem;
    }
}
/* Footer */
.footer {
    background-color: var(--dark);
    color: var(--white);
    position: relative;
    padding-top: 80px;
    padding-bottom: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-about .logo {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.footer-about-text {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.footer-links ul li,
.footer-services ul li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-services a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover,
.footer-services a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact ul li i {
    margin-right: 10px;
    color: var(--primary-color);
    margin-top: 3px;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--white);
}

.footer-animation {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    overflow: hidden;
}

.footer-cow,
.footer-sheep,
.footer-chicken {
    position: absolute;
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    bottom: 20px;
}

.footer-cow {
    left: 10%;
    animation: footer-float 15s linear infinite;
}

.footer-sheep {
    left: 30%;
    animation: footer-float 20s linear infinite 5s;
}

.footer-chicken {
    left: 50%;
    animation: footer-float 12s linear infinite 3s;
}

@keyframes footer-float {
    0% {
        transform: translateX(0) translateY(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateX(100vw) translateY(-50px);
        opacity: 0;
    }
}

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

.fade-in-up {
    animation: fadeInUp 1s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 50px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .auth-buttons {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .newsletter-container {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-form {
        margin-left: 0;
        margin-top: 30px;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-large {
        width: 100%;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .vet-actions {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-legal {
        gap: 10px;
    }
}


/* Login Page Styles */
.login-container {
    display: flex;
    min-height: 100vh;
    background-color: var(--light-color);
}

.login-left {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1) 0%, rgba(255, 255, 255, 1) 100%);
    position: relative;
    overflow: hidden;
}

.login-right {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--white);
}

.login-logo {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
}

.login-logo .logo-img {
    margin-right: 15px;
}

.login-title {
    font-size: 2.8rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.login-title span {
    color: var(--primary-color);
}

.login-subtitle {
    color: var(--text-light);
    margin-bottom: 40px;
    font-size: 1.1rem;
    max-width: 500px;
}

.login-animation {
    position: relative;
    height: 300px;
    margin: 40px 0;
}

.login-decoration {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background-color: rgba(76, 175, 80, 0.1);
    z-index: 1;
}

.animal {
    position: absolute;
    border-radius: 50%;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    z-index: 2;
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.cow {
    width: 100px;
    height: 100px;
    top: 20px;
    left: 50px;
    animation: float 6s ease-in-out infinite;
}

.sheep {
    width: 80px;
    height: 80px;
    bottom: 30px;
    right: 70px;
    animation: float 7s ease-in-out infinite;
}

.chicken {
    width: 60px;
    height: 60px;
    top: 50%;
    right: 50px;
    animation: float 5s ease-in-out infinite;
}

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

.login-footer p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.login-footer a {
    color: var(--primary-color);
    font-weight: 500;
}

.social-login {
    margin-top: 30px;
}

.social-login p {
    color: var(--text-light);
    margin-bottom: 15px;
    text-align: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--white);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-5px);
}

/* Login Form Styles */
.login-form {
    max-width: 450px;
    width: 100%;
    margin: 0 auto;
}

.form-title {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--dark);
    text-align: center;
}

.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-group input {
    width: 100%;
    padding: 15px 20px 15px 50px;
    border: 1px solid var(--gray);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--light-color);
}

.form-group input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
    background-color: var(--white);
}

.form-group label {
    position: absolute;
    top: 15px;
    left: 50px;
    color: var(--text-light);
    pointer-events: none;
    transition: var(--transition);
    background-color: var(--light-color);
    padding: 0 5px;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label {
    top: -10px;
    left: 35px;
    font-size: 0.8rem;
    color: var(--primary-color);
    background-color: var(--white);
}

.input-icon {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 16px;
    pointer-events: none;
}

.toggle-password {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    transition: var(--transition);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    color: var(--text-light);
    font-size: 16px;
}
.toggle-password:hover {
    color: var(--primary-color);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.remember-me {
    display: flex;
    align-items: center;
}

.remember-me input {
    margin-right: 8px;
    accent-color: var(--primary-color);
}

.remember-me label {
    font-size: 0.9rem;
    color: var(--text-light);
    cursor: pointer;
}

.forgot-password {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 500;
}

.forgot-password:hover {
    text-decoration: underline;
}
.inscription{
  margin-left: 9px;
}
.btn-login {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 25px;
    color: #4CAF50;
}

.btn-text {
    flex: 1;
    text-align: center;
}

.btn-icon {
    transition: var(--transition);
}
.btn-login:hover{
  color: white;
}
.btn-login:hover .btn-icon {
    transform: translateX(5px);
}

.divider {
    display: flex;
    align-items: center;
    margin: 25px 0;
}

.divider-line {
    flex: 1;
    height: 1px;
    background-color: var(--gray);
}

.divider-text {
    padding: 0 15px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.btn-fingerprint {
    padding: 15px 25px;
    margin-bottom: 30px;
}

.btn-fingerprint i {
    margin-right: 10px;
}

.login-security {
    text-align: center;
    margin-top: auto;
}

.security-info {
    display: inline-flex;
    align-items: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

.security-info i {
    color: var(--primary-color);
    margin-right: 8px;
    font-size: 1.1rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .login-container {
        flex-direction: column;
    }
    
    .login-left, .login-right {
        padding: 40px;
    }
    
    .login-animation {
        height: 200px;
        margin: 30px 0;
    }
    
    .login-footer {
        margin-top: 40px;
    }
}

@media (max-width: 576px) {
    .login-left, .login-right {
        padding: 30px 20px;
    }
    
    .login-title {
        font-size: 2.2rem;
    }
    
    .form-title {
        font-size: 1.8rem;
    }
    
    .form-group input {
        padding: 15px 15px 15px 45px;
    }
    
    .form-group label {
        left: 45px;
    }
    
    .input-icon {
        left: 15px;
    }
}

/* Register Page Styles */
.register-container {
    display: flex;
    min-height: 100vh;
    background-color: var(--light-color);
}

.register-left {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1) 0%, rgba(255, 255, 255, 1) 100%);
    position: relative;
    overflow: hidden;
}

.register-right {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--white);
}

.register-logo {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
}

.register-logo .logo-img {
    margin-right: 15px;
}

.register-title {
    font-size: 2.8rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.register-title span {
    color: var(--primary-color);
}

.register-subtitle {
    color: var(--text-light);
    margin-bottom: 40px;
    font-size: 1.1rem;
    max-width: 500px;
}

.register-features {
    margin: 40px 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(76, 175, 80, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.feature-text h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--dark);
}

.feature-text p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.register-animation {
    position: relative;
    height: 250px;
    margin-top: auto;
}

.register-decoration {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: rgba(76, 175, 80, 0.1);
    z-index: 1;
}

/* Register Form Styles */
.register-form {
    max-width: 450px;
    width: 100%;
    margin: 0 auto;
}

.form-group select {
    width: 100%;
    padding: 15px 20px 15px 50px;
    border: 1px solid var(--gray);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--light-color);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.form-group select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
    background-color: var(--white);
}

.password-strength {
    margin-top: 8px;
    font-size: 0.85rem;
    color: #666;
}

.strength-bar {
    width: 20%;
    height: 4px;
    background-color: #ccc;
    margin-right: 5px;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.strength-bar:last-child {
    margin-right: 0;
}

.strength-text {
    font-size: 0.8rem;
    color: #666;
    margin-left: 10px;
}

/* Strength colors */
.password-weak .strength-bar:nth-child(1) {
    background-color: #ff5252;
}

.password-medium .strength-bar:nth-child(-n+2) {
    background-color: #ffb74d;
}

.password-strong .strength-bar {
    background-color: #4caf50;
}


.terms-agreement {
    display: flex;
    align-items: flex-start;
}

.terms-agreement input {
    margin-right: 10px;
    margin-top: 3px;
    accent-color: var(--primary-color);
}

.terms-agreement label {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.4;
}

.terms-agreement a {
    color: var(--primary-color);
    font-weight: 500;
}

.terms-agreement a:hover {
    text-decoration: underline;
}

.btn-register {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 25px;
    margin: 25px 0;
    font-weight: 500;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;}

.social-register {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
}

.btn-social i {
    margin-right: 10px;
    font-size: 1.1rem;
}

.login-link {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 30px;
}

.login-link a {
    color: var(--primary-color);
    font-weight: 500;
}

.login-link a:hover {
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .register-container {
        flex-direction: column;
    }
    
    .register-left, .register-right {
        padding: 40px;
    }
    
    .register-animation {
        height: 200px;
        margin: 30px 0;
    }
}

@media (max-width: 576px) {
    .register-left, .register-right {
        padding: 30px 20px;
    }
    
    .register-title {
        font-size: 2.2rem;
    }
    
    .form-title {
        font-size: 1.8rem;
    }
    
    .feature-item {
        flex-direction: column;
    }
    
    .feature-icon {
        margin-bottom: 15px;
    }
    
    .social-register {
        flex-direction: column;
    }
}

/* Mobile Menu Styles */
.nav-links {
    transition: all 0.3s ease;
}

/* For desktop - show links normally */
@media (min-width: 992px) {
    .nav-links {
        display: flex !important;
    }
}

/* For mobile - hide by default */
@media (max-width: 991px) {
/* Hide nav links by default on small screens */
  .nav-links {
    display: none;
    flex-direction: column;
    background: white;
    position: absolute;
    top: 120px; /* adjust to header height */
    left: 0;
    width: 100%;
    padding: 15px;
    z-index: 9999;
  }

  .nav-links.show {
    display: flex;
  }

    
    .nav-links li {
        margin: 10px 0;
    }
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-color);
}

@media (max-width: 991px) {
    .mobile-menu-btn {
        display: block;
    }
}


/* Desktop - show regular auth buttons */
.desktop-auth-buttons {
    display: flex;
    gap: 10px;
}

/* Mobile - hide desktop auth buttons */
/* Mobile auth buttons styling */
@media (max-width: 991px) {
    .mobile-auth-buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 15px 0;
        width: 100%; /* Ensure full width */
    }
       .desktop-auth-buttons {
        display: none;
    }
    .mobile-auth-buttons a {
        width: 100%;
        text-align: center;
        margin: 0 !important; /* Remove any default margins */
        padding: 10px 15px; /* Consistent padding */
    }
    
    /* Specific fix for the inscription button */
    .mobile-auth-buttons a.inscription {
        margin-left: 0 !important;
    }
      .stat-label{
      font-size: 0.8rem;
    }
}

/* Desktop - hide mobile auth buttons */
@media (min-width: 991px) {
    .mobile-auth-buttons {
        display: none;
    }

}

@media (width: 991px) {
    .mobile-auth-buttons {
        display: none;

    }
}

@media (min-width: 991px) and (max-width: 1221px) {
  .nav-links li {
    font-size: small; 
  }

    .auth-buttons.desktop-auth-buttons .btn {
    font-size: 14px;        /* Réduit la taille du texte */
    padding: 6px 12px;      /* Réduit l'espace intérieur */
    line-height: 1.2;       /* Ajuste la hauteur */
  }

  .auth-buttons.desktop-auth-buttons .btn.inscription {
    margin-left: 8px;       /* Optionnel : ajuste l’espace entre les deux */
  }
}
.form-note{
  margin-bottom: 17px;
}
.password-requirements{
  margin-bottom: 20px;
}



/* Style our visible select to match navbar buttons */
.language-switcher.visible-language { display:inline-block; margin-left:16px; vertical-align: middle; }
.custom-lang {
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 6px 10px;
  font-weight: 500;
  font-size: 14px;
  background: #fff;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

/* Hide Google logo & banner inserted by the widget */
.goog-logo-link { display: none !important; }
.goog-te-gadget-icon { display: none !important; }
.goog-te-gadget-simple { display: inline-block !important; }

/* Optionally hide the original Google select (we'll control translation using cookie + reload) */
#google_translate_element { display: none; }

/* Remove the top translation banner if appears */
.goog-te-banner-frame.skiptranslate { display: none !important; }
html[xmlns] .goog-te-balloon-frame { display: none !important; }




/* Styles pour le menu utilisateur */
.user-menu {
    position: relative;
    display: inline-block;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #4CAF50;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-avatar:hover {
    background-color: rgb(60, 193, 53);
    transform: scale(1.05);
}

.user-dropdown {
    position: absolute;
    top: 50px;
    right: 0;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

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

.dropdown-item {
    display: block;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f1f1f1;
}

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

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #26b224;
}

/* Styles pour la version mobile */
.user-menu-mobile {
    position: relative;
    margin: 10px 0;
}

.user-dropdown-mobile {
    position: static;
    background-color: white;
    border-radius: 8px;
    margin-top: 10px;
    display: none;
}

.user-dropdown-mobile.show {
    display: block;
}

/* Media queries pour l'affichage responsive */
@media (max-width: 768px) {
    .user-avatar {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .user-dropdown {
        right: -10px;
        width: 130px;
    }
    .stat-label{
      font-size: 0.8rem;
    }
}