/* ===== Reset & Base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Cairo', 'Tajawal', sans-serif;
    background: #ffffff;
    color: #1a1a1a;
    direction: rtl;
    scroll-behavior: smooth;
}
a { text-decoration: none; color: inherit; }
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Section Titles ===== */
.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
    color: #1a1a1a;
}
.section-title span { color: #006C35; }
.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 18px;
    margin-bottom: 40px;
}

/* ===== Buttons ===== */
.btn-primary {
    background: #006C35;
    color: white;
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 700;
    display: inline-block;
    transition: 0.3s;
    border: none;
    cursor: pointer;
}
.btn-primary:hover { background: #004d25; transform: scale(1.02); }
.btn-secondary {
    background: transparent;
    color: #006C35;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 700;
    display: inline-block;
    transition: 0.3s;
    border: 2px solid #006C35;
    cursor: pointer;
}
.btn-secondary:hover { background: #006C35; color: white; }

/* ===== Header ===== */
.header {
    background: white;
    padding: 12px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}
.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo img {
    height: 50px;
    width: auto;
}
.logo-text {
    font-size: 22px;
    font-weight: 800;
    color: #006C35;
}
.logo-text span { color: #C9A84C; }
.rega-badge {
    background: #f0f7f0;
    color: #006C35;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 10px;
    border: 1px solid #006C35;
}
.nav {
    display: flex;
    gap: 25px;
    align-items: center;
}
.nav a {
    color: #333;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s;
}
.nav a:hover, .nav a.active { color: #006C35; }
.nav .contact-btn {
    background: #006C35;
    color: white !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
}
.nav .contact-btn:hover { background: #004d25; }
.hamburger {
    display: none;
    font-size: 28px;
    cursor: pointer;
    background: none;
    border: none;
    color: #333;
}

/* ===== Hero ===== */
.hero {
    min-height: 650px;
    display: flex;
    align-items: center;
    margin-top: 74px;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #006C35 0%, #00341a 100%);
}
.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}
.hero-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25;
}
.hero-video-wrapper .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,108,53,0.85) 0%, rgba(0,52,26,0.9) 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}
.hero h1 {
    color: white;
    font-size: 52px;
    line-height: 1.2;
    font-weight: 800;
}
.hero h1 span { color: #C9A84C; }
.hero p {
    color: rgba(255,255,255,0.9);
    font-size: 20px;
    margin: 20px 0 30px;
    max-width: 550px;
    line-height: 1.7;
}
.search-box {
    background: white;
    border-radius: 16px;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    max-width: 700px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.search-box select, .search-box button {
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    font-size: 15px;
    background: white;
    font-family: inherit;
}
.search-box button {
    background: #006C35;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: 700;
    transition: background 0.3s;
}
.search-box button:hover { background: #004d25; }

/* ===== Page Header ===== */
.page-header {
    background: linear-gradient(135deg, #006C35, #00341a);
    color: white;
    padding: 40px 0;
    text-align: center;
    margin-top: 74px;
}
.page-header h1 { font-size: 36px; }
.page-header p { opacity: 0.9; margin-top: 10px; }

/* ===== Stats ===== */
.stats {
    padding: 60px 0;
    background: #f8f9fa;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}
.stat {
    background: white;
    padding: 30px 20px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: 0.3s;
}
.stat:hover { transform: translateY(-8px); }
.stat h3 { font-size: 36px; color: #006C35; font-weight: 800; }
.stat p { color: #666; margin-top: 8px; }

/* ===== Properties ===== */
.properties { padding: 60px 0; }
.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.property-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: 0.3s;
}
.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}
.property-card .image {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.property-card .image .badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #C9A84C;
    color: white;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}
.property-card .image .type {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #006C35;
    color: white;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
}
.property-card .info { padding: 20px; }
.property-card .info h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}
.property-card .info .location {
    color: #666;
    font-size: 14px;
}
.property-card .info .details {
    display: flex;
    gap: 15px;
    margin: 12px 0;
    color: #555;
    font-size: 14px;
}
.property-card .info .price {
    font-size: 24px;
    font-weight: 800;
    color: #006C35;
    border-top: 1px solid #f0f0f0;
    padding-top: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.property-card .info .price .link {
    color: #999;
    font-size: 14px;
    transition: color 0.3s;
}
.property-card .info .price .link:hover { color: #006C35; }

/* ===== Services ===== */
.services { padding: 60px 0; background: #f8f9fa; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}
.service-card {
    background: white;
    padding: 30px 25px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: 0.3s;
    cursor: pointer;
}
.service-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    transform: translateY(-5px);
}
.service-card .icon { font-size: 48px; margin-bottom: 15px; }
.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #006C35;
}
.service-card p { color: #666; font-size: 14px; line-height: 1.6; }
.service-card .read-more {
    display: inline-block;
    margin-top: 15px;
    color: #006C35;
    font-weight: 600;
}

/* ===== Team ===== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 30px;
}
.team-card {
    text-align: center;
    background: white;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.team-card .avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    margin: 0 auto 15px;
    border: 4px solid #006C35;
}
.team-card h4 { font-size: 18px; color: #1a1a1a; }
.team-card p { color: #666; font-size: 14px; }

/* ===== About ===== */
.about { padding: 60px 0; }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.about-grid h2 { font-size: 36px; font-weight: 800; }
.about-grid h2 span { color: #006C35; }
.about-grid p { color: #555; line-height: 1.8; margin: 20px 0; }
.about-grid .features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.about-grid .features .feat {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}
.about-grid .features .feat::before {
    content: '✓';
    color: #006C35;
    font-weight: 800;
    font-size: 18px;
}
.about-image {
    width: 100%;
    height: 400px;
    border-radius: 16px;
    background-size: cover;
    background-position: center;
}

/* ===== Testimonials ===== */
.testimonials {
    padding: 60px 0;
    background: #f0f7f0;
}
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.testimonial-card {
    background: white;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.testimonial-card .stars { color: #C9A84C; font-size: 18px; margin-bottom: 10px; }
.testimonial-card p { color: #555; line-height: 1.7; font-style: italic; }
.testimonial-card .author { margin-top: 15px; font-weight: 700; }
.testimonial-card .role { color: #888; font-size: 14px; }

/* ===== CTA ===== */
.cta {
    padding: 60px 0;
    background: linear-gradient(135deg, #006C35, #00341a);
    color: white;
    text-align: center;
}
.cta h2 { font-size: 36px; font-weight: 800; }
.cta p { margin: 15px 0 30px; opacity: 0.9; }
.cta .btn {
    background: #C9A84C;
    color: #1a1a1a;
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 700;
    display: inline-block;
    transition: 0.3s;
}
.cta .btn:hover { background: #b8943a; transform: scale(1.05); }

/* ===== Contact ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    padding: 40px 0;
}
.form-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.form-card label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}
.form-card input, .form-card textarea, .form-card select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 16px;
    font-family: inherit;
    margin-bottom: 20px;
    transition: border-color 0.3s;
}
.form-card input:focus, .form-card textarea:focus {
    border-color: #006C35;
    outline: none;
}
.form-card textarea { min-height: 120px; resize: vertical; }
.info-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.info-card .item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}
.info-card .item:last-child { border-bottom: none; }
.info-card .icon { font-size: 24px; width: 40px; text-align: center; }
.info-card .rega-box {
    background: #f0f7f0;
    padding: 15px;
    border-radius: 12px;
    margin-top: 20px;
    border-right: 4px solid #006C35;
}
.alert {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-weight: 500;
}
.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ===== Blog ===== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    padding: 40px 0;
}
.blog-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: 0.3s;
    cursor: pointer;
}
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}
.blog-card .image { height: 200px; background-size: cover; background-position: center; }
.blog-card .content { padding: 20px; }
.blog-card .content .tag {
    display: inline-block;
    background: #f0f7f0;
    color: #006C35;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}
.blog-card .content h3 { font-size: 20px; margin: 10px 0; }
.blog-card .content .meta {
    color: #888;
    font-size: 14px;
    display: flex;
    gap: 15px;
    margin: 10px 0;
}
.blog-card .content p { color: #555; line-height: 1.7; margin-bottom: 15px; }
.blog-card .content .read-more { color: #006C35; font-weight: 600; }

/* ===== Footer ===== */
.footer {
    background: #1a1a1a;
    color: #aaa;
    padding: 50px 0 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 30px;
}
.footer h4 { color: white; font-size: 18px; margin-bottom: 15px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 8px; }
.footer ul li a:hover { color: #006C35; }
.footer .social {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}
.footer .social a {
    background: #333;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 18px;
    transition: 0.3s;
}
.footer .social a:hover { background: #006C35; }
.footer .bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
}
.footer .rega-footer {
    display: inline-block;
    background: #006C35;
    color: white;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 12px;
    margin-top: 10px;
}

/* ===== WhatsApp ===== */
.whatsapp {
    position: fixed;
    bottom: 24px;
    left: 24px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: 0.3s;
}
.whatsapp:hover { transform: scale(1.1); }

/* ===== Breadcrumb ===== */
.breadcrumb { padding: 15px 0; background: #f8f9fa; font-size: 14px; }
.breadcrumb a { color: #006C35; }
.breadcrumb a:hover { text-decoration: underline; }

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .hero h1 { font-size: 32px; }
    .nav {
        display: none;
        flex-direction: column;
        width: 100%;
        padding-top: 20px;
        gap: 15px;
    }
    .nav.open { display: flex; }
    .hamburger { display: block; }
    .search-box { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 15px; }
}
@media (max-width: 480px) {
    .hero h1 { font-size: 26px; }
    .logo-text { font-size: 18px; }
}
/* ===== Header Logo Enhancements ===== */
.header .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.header .logo img {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

/* ===== Mobile Responsive Logo ===== */
@media (max-width: 768px) {
    .header .logo img {
        height: 40px;
        max-width: 150px;
    }
    .header .container {
        padding: 0 10px;
    }
}
@media (max-width: 480px) {
    .header .logo img {
        height: 32px;
        max-width: 120px;
    }
    .header .container {
        padding: 0 8px;
    }
}
@media (max-width: 360px) {
    .header .logo img {
        height: 28px;
        max-width: 100px;
    }
}

/* ===== Mobile Menu Improvements ===== */
@media (max-width: 768px) {
    .nav {
        background: white;
        padding: 15px;
        border-radius: 12px;
        box-shadow: 0 10px 40px rgba(0,0,0,0.15);
        position: absolute;
        top: 70px;
        right: 10px;
        left: 10px;
        width: auto;
        gap: 10px;
    }
    .nav.open {
        display: flex;
    }
    .nav a {
        padding: 10px 15px;
        border-radius: 8px;
        width: 100%;
        text-align: center;
    }
    .nav a:hover {
        background: #f0f7f0;
    }
    .nav .contact-btn {
        text-align: center;
        padding: 12px;
    }
}
/* ===== Animations ===== */

/* Fade In Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Animation Classes ===== */
.animate-fade-up {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.animate-fade-left {
    opacity: 0;
    animation: fadeInLeft 0.8s ease forwards;
}

.animate-fade-right {
    opacity: 0;
    animation: fadeInRight 0.8s ease forwards;
}

.animate-scale {
    opacity: 0;
    animation: scaleIn 0.8s ease forwards;
}

.animate-slide-down {
    opacity: 0;
    animation: slideDown 0.6s ease forwards;
}

/* Stagger delays */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }
.delay-7 { animation-delay: 0.7s; }
.delay-8 { animation-delay: 0.8s; }

/* ===== Hover Animations ===== */
.property-card,
.service-card,
.blog-card,
.team-card,
.stat {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.property-card:hover,
.service-card:hover,
.blog-card:hover,
.team-card:hover,
.stat:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

/* ===== Glow Effect on Hover ===== */
.btn-primary,
.btn-secondary,
.cta .btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover,
.cta .btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 40px rgba(0,108,53,0.4);
}

.btn-secondary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 40px rgba(0,108,53,0.2);
}

/* ===== Pulse Animation for Badges ===== */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.badge {
    animation: pulse 2s infinite;
}

/* ===== Shimmer Loading Effect ===== */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* ===== Floating Animation ===== */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.service-card .icon {
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

.service-card:nth-child(2) .icon { animation-delay: 0.5s; }
.service-card:nth-child(3) .icon { animation-delay: 1s; }
.service-card:nth-child(4) .icon { animation-delay: 1.5s; }

/* ===== Hero Text Animation ===== */
.hero h1 {
    animation: slideDown 1s ease forwards;
}

.hero p {
    animation: fadeInUp 1s ease 0.3s forwards;
    opacity: 0;
}

.hero .search-box {
    animation: fadeInUp 1s ease 0.6s forwards;
    opacity: 0;
}

/* ===== Stats Counter Animation ===== */
@keyframes countUp {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.stat h3 {
    animation: countUp 1s ease forwards;
}

/* ===== Image Zoom on Hover ===== */
.property-card .image {
    overflow: hidden;
    transition: all 0.5s ease;
}

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

.property-card .image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.property-card:hover .image::after {
    opacity: 1;
}

/* ===== Smooth Section Transitions ===== */
section {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

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

/* ===== Mobile Menu Animation ===== */
.nav {
    transition: all 0.3s ease;
}

.nav.open {
    animation: slideDown 0.3s ease forwards;
}

/* ===== WhatsApp Button Pulse ===== */
@keyframes whatsappPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    50% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }
}

.whatsapp {
    animation: whatsappPulse 2s infinite;
}

/* ===== Scroll to Top Button ===== */
.scroll-top {
    position: fixed;
    bottom: 90px;
    right: 20px;
    background: #006C35;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    border: none;
    box-shadow: 0 4px 20px rgba(0,108,53,0.3);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,108,53,0.5);
}
/* ===== Team Grid Enhancements ===== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.team-card {
    text-align: center;
    background: white;
    padding: 25px 15px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.team-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.team-card .avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    margin: 0 auto 15px;
    border: 4px solid #006C35;
    transition: all 0.4s ease;
}

.team-card:hover .avatar {
    border-color: #C9A84C;
    transform: scale(1.05);
}

.team-card h4 {
    font-size: 18px;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.team-card p {
    color: #666;
    font-size: 14px;
}

/* ===== Responsive Team ===== */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
    }
    .team-card .avatar {
        width: 90px;
        height: 90px;
    }
    .team-card h4 {
        font-size: 16px;
    }
    .team-card p {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .team-card {
        padding: 15px 10px;
    }
    .team-card .avatar {
        width: 70px;
        height: 70px;
    }
    .team-card h4 {
        font-size: 14px;
    }
    .team-card p {
        font-size: 11px;
    }
}
/* ===== Phone Number Styling ===== */
.phone-number {
    direction: ltr;
    font-size: 20px;
    font-weight: 700;
    color: #006C35;
    display: inline-block;
    letter-spacing: 1px;
    unicode-bidi: embed;
}

.phone-number a {
    color: #006C35;
    text-decoration: none;
    transition: color 0.3s;
}

.phone-number a:hover {
    color: #004d25;
}

/* Contact info phone */
.info-card .item .phone-display {
    font-size: 20px;
    font-weight: 700;
    color: #006C35;
    direction: ltr;
    display: inline-block;
    letter-spacing: 1px;
}

.info-card .item .phone-display a {
    color: #006C35;
    text-decoration: none;
}

/* Footer phone */
.footer .phone-link {
    direction: ltr;
    display: inline-block;
}

.footer .phone-link a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
    direction: ltr;
    font-weight: 500;
}

.footer .phone-link a:hover {
    color: #006C35;
}

/* ===== Contact Page Phone ===== */
.contact-phone {
    font-size: 22px;
    font-weight: 800;
    color: #006C35;
    direction: ltr;
    display: inline-block;
    letter-spacing: 1px;
}

.contact-phone a {
    color: #006C35;
    text-decoration: none;
}
/* ===== Phone Number Display Fix ===== */
.phone-display {
    direction: ltr !important;
    display: inline-block !important;
    font-weight: 600;
    font-size: 16px;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.5px;
}

.phone-display a {
    color: #006C35;
    text-decoration: none;
}

.phone-display a:hover {
    color: #004d25;
}

.footer .phone-display a {
    color: #aaa;
}

.footer .phone-display a:hover {
    color: #006C35;
}

/* Contact page phone */
.contact-phone-number {
    font-size: 24px;
    font-weight: 800;
    color: #006C35;
    direction: ltr !important;
    display: inline-block;
    letter-spacing: 1px;
    font-family: 'Courier New', monospace;
}

.contact-phone-number a {
    color: #006C35;
    text-decoration: none;
}

.contact-phone-number a:hover {
    color: #004d25;
}

/* Info card phone */
.info-card .phone-item .phone-value {
    direction: ltr !important;
    display: inline-block;
    font-size: 18px;
    font-weight: 700;
    color: #006C35;
    font-family: 'Courier New', monospace;
}

.info-card .phone-item .phone-value a {
    color: #006C35;
    text-decoration: none;
}
