/* =============================
   Search Box Styles
============================= */

/* Global Expandable Search Box */
.search-box {
    position: relative;
    display: flex;
    align-items: center;
    border: none;
    background: transparent;
}

.search-box input {
    display: none;
    /* Hidden by default */
    position: absolute;
    right: 0;
    top: 100%;
    width: 250px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1200;
    margin-top: 10px;
}

.search-box.active input {
    display: block;
    /* Show when active */
}

.search-box button {
    background: transparent;
    border: none;
    padding: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-box button img {
    width: 24px;
    height: 24px;
}

/* Mobile Search Toggle Icon (Hidden by default on Desktop) */
.mobile-search-icon {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-search-icon img {
    width: 24px;
    height: 24px;
}


/* Search Results Dropdown */

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #ccc;
    max-height: 200px;
    overflow-y: auto;
    display: none;
    z-index: 10;
}

/* =============================
   Navigation Dropdown Styles
============================= */

/* Dropdown Container */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown Content (Hidden by default) */
.dropdown-menu {
    display: none;
    position: absolute;
    background-color: var(--white-color);
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    padding: 10px 0;
    list-style: none;
    border-radius: 5px;
    top: 100%;
    left: 0;
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu li a {
    color: var(--dark-color);
    padding: 10px 20px;
    text-decoration: none;
    display: block;
    font-size: 15px;
    transition: 0.3s;
}

.dropdown-menu li a:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
}

/* Show Dropdown on Hover */
.dropdown:hover .dropdown-menu {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Responsive Handling in responsive.css needed for mobile */

.search-results a {
    display: block;
    padding: 8px;
    text-decoration: none;
    color: black;
    border-bottom: 1px solid #eee;
}

.search-results a:hover {
    background: var(--primary-color);
    color: white;
}

/* =============================
   Buttons
============================= */

/* =============================
   Buttons
============================= */

button {
    background: var(--gold-gradient);
    color: var(--white-color);
    border: none;
    padding: 12px 24px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 50px;
    /* Pill shape */
    transition: all 0.3s ease-in-out;
    font-weight: 600;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(212, 175, 55, 0.4);
}

/* =============================
   Cards (Service & Highlights)
============================= */

.service-card {
    background: #fff;
    border-radius: 16px;
    /* Smooth corners */
    padding: 0;
    /* Let image touch edges */
    box-shadow: var(--card-shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    cursor: pointer;
    overflow: hidden;
    min-height: 300px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    transition: transform 0.5s ease;
}

.service-card:hover img {
    transform: scale(1.05);
    /* Zoom effect */
}

.service-content {
    padding: 20px;
}

.service-content h3 {
    color: var(--primary-color);
    margin-top: 5px;
    font-size: 22px;
    font-weight: 700;
}

.service-details {
    display: none;
    font-size: 15px;
    margin-top: 15px;
    color: #666;
    line-height: 1.6;
}

.service-card.active .service-details {
    display: block;
    animation: fadeIn 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

/* Fade-in Animation */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Highlight Cards (Redesign) */
.highlight-card {
    background: transparent;
    padding: 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
    cursor: default;
    border: none;
    box-shadow: none;
}

.highlight-icon {
    width: 90px;
    height: 90px;
    background: var(--gold-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: white;
}

.highlight-icon .material-icons {
    font-size: 42px;
}

.highlight-card h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin: 0;
    font-family: var(--font-heading);
    font-weight: 700;
    transition: color 0.3s;
}

.highlight-info {
    font-size: 0.95rem;
    color: var(--dark-color);
    margin-top: 0;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    max-height: 0;
    overflow: hidden;
}

/* Hover Effects */
.highlight-card:hover .highlight-icon {
    transform: scale(1.15);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.5);
}

.highlight-card:hover h3 {
    color: var(--gold-text);
}

.highlight-card:hover .highlight-info {
    opacity: 1;
    transform: translateY(0);
    max-height: 80px;
    margin-top: 10px;
}

/* =============================
   Contact Form Styles
============================= */

/* =============================
   Contact Form Styles
============================= */

.contact-form {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #fdfbf5 0%, #ede5ce 100%);
    position: relative;
    overflow: hidden;
}

/* Decorative background elements for glass effect to pop */
.contact-form::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.contact-form::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(184, 134, 11, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.contact-form h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
    font-family: var(--font-heading);
    font-weight: 700;
}

/* Glassmorphism Container */
.glass-form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 50px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    position: relative;
    z-index: 1;
}

/* Grid Layout */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.form-group.full-width {
    grid-column: span 2;
}

label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

input,
textarea,
select {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    color: var(--dark-color);
    transition: all 0.3s ease;
    font-family: inherit;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(184, 134, 11, 0.1);
}

/* Placeholder Styling */
input::placeholder,
textarea::placeholder {
    color: #666;
    opacity: 0.8;
}

/* Style select when no option is chosen (placeholder effect) */
select:required:invalid {
    color: #666;
    opacity: 0.8;
}

option {
    color: var(--dark-color);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    letter-spacing: 1px;
    margin-top: 10px;
    background: var(--gold-gradient);
    border: none;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(184, 134, 11, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .contact-form {
        padding: 60px 15px;
    }

    .glass-form-container {
        padding: 30px 20px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .form-group.full-width {
        grid-column: span 1;
    }

    .contact-form h2 {
        font-size: 2rem;
    }
}


/* =============================
   Profile Popup Styles
============================= */

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    z-index: 999;
}

.profile-popup {
    position: fixed;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -25%);
    width: 95%;
    height: 50%;
    background: rgb(255, 255, 255);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    display: none;
    z-index: 1000;
}

/* Close Button */

.close-popup {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: red;
}

/* Profile Frame */

.profile-popup iframe {
    width: 100%;
    height: 85%;
    border: none;
}

/* Show Popup */

.profile-popup.show,
.popup-overlay.show {
    display: block;
}


/* =============================
   Back to Top Button
============================= */

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: none;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    transition: 0.5s;
}

.back-to-top:hover {
    background: var(--secondary-color);
}

/* Hamburger Menu Icon */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    margin-left: 15px;
    z-index: 1100;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: var(--white-color);
    transition: all 0.3s linear;
}

/* =============================
   Testimonials
============================= */
.testimonials {
    text-align: center;
    padding: 60px 20px;
    background: #f9f9f9;
}

.testimonials h2 {
    color: var(--primary-color);
    margin-bottom: 40px;
    font-size: 2.5em;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: left;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-card p {
    font-style: italic;
    color: #555;
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 20px;
}

.testimonial-card h4 {
    color: var(--primary-color);
    font-weight: bold;
    text-align: right;
}

/* =============================
   FAQ Accordion
============================= */
.faq-section {
    max-width: 980px;
    margin: 5px auto;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.accordion {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 10px;
}

.accordion-item {
    border-bottom: 1px solid #ddd;
}

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

.accordion-header {
    background: #f4f4f4;
    padding: 15px;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.accordion-header:hover {
    background: #e2b676;
    color: white;
}

.accordion-content {
    display: none;
    padding: 15px;
    background: #fff;
    line-height: 1.6;
}

.accordion-content.active {
    display: block;
}

/* Arrow Icon */
.accordion-header::after {
    content: '+';
    font-size: 20px;
}

.accordion-header.active::after {
    content: '-';
}

/* =============================
   Google Reviews Marquee
============================= */
.google-reviews-section {
    background: #fdfdfd;
    padding: 40px 0;
    overflow: hidden;
    border-top: 1px solid #eee;
}

.google-reviews-container {
    display: flex;
    overflow-x: hidden;
    /* Hide scrollbar */
    white-space: nowrap;
    position: relative;
    width: 100%;
    cursor: grab;
    /* Indicate draggable/scrollable */
}

/* Pause and Allow Scroll on Hover */
.google-reviews-container:hover {
    overflow-x: auto;
    /* Show scrollbar if needed */
}

.google-reviews-container:active {
    cursor: grabbing;
}


.review-card {
    background: white;
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 8px;
    margin: 0 15px;
    min-width: 300px;
    max-width: 300px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    display: inline-block;
    white-space: normal;
    /* Allow text wrapping inside card */
    vertical-align: top;
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}



.reviewer-name {
    font-weight: bold;
    font-size: 14px;
    color: var(--dark-color);
}

.review-rating {
    color: #fbbc05;
    /* Google Star Color */
    font-size: 14px;
}

.review-text {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    max-height: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    line-clamp: 4;
}

/* Animation */
.marquee-content {
    display: flex;
    animation: scroll 40s linear infinite;
}

.marquee-content:hover,
.google-reviews-container:hover .marquee-content {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

    /* Assumes duplicated content for seamless loop */
}

/* =============================
   Circular Social Buttons
============================= */
.social-buttons-container {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
    z-index: 10;
    position: relative;
    width: 100%;
}

/* Default Simple Scale Effect (For Footer/General) */
.circle-btn {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 50px;
    padding: 5px;
    width: 60px;
    /* Fixed width */
    height: 60px;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: var(--primary-color);
    white-space: nowrap;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.circle-btn:hover {
    transform: scale(1.1);
    /* Simple pop effect */
    background: white;
    /* Keep white usually */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.circle-btn .icon-container {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.3s;
}

.circle-btn img,
.circle-btn svg,
.circle-btn .material-icons {
    width: 24px;
    height: 24px;
    font-size: 24px;
    /* Ensure icon font size matches SVG */
    transition: transform 0.3s;
    color: var(--primary-color);
}

/* =============================
   Specific Hero Expand Effect
============================= */
/* Only apply the expansion logic to buttons inside .hero */
.hero .circle-btn {
    transition: width 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s, box-shadow 0.3s;
}

.hero .circle-btn:hover {
    width: 200px;
    /* Expand */
    background: var(--primary-color);
    color: white;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
    transform: none;
    /* Reset the scale from default */
}

.hero .circle-btn .btn-text {
    margin-left: 12px;
    opacity: 0;
    font-weight: 600;
    font-size: 15px;
    transition: opacity 0.2s ease 0.1s;
    display: inline-block;
    /* Ensure it takes space */
}


/* =============================
   Social Button Hover Fixes
============================= */

/* Ensure SVGs use current text color */
.circle-btn svg {
    fill: currentColor;
}

/* Hero Section: Button becomes Primary, Icon/Text becomes White */
.hero .circle-btn:hover .icon-container {
    background: transparent;
    /* Remove white background so white icon shows on Gold Button */
}

.hero .circle-btn:hover img {
    filter: brightness(0) invert(1);
    /* Make images white */
}

/* Footer Section: Button stays White, Icon stays Primary */
/* Explicitly force color to avoid inheritance issues */
footer .circle-btn:hover {
    color: var(--primary-color);
}

footer .circle-btn:hover .icon-container {
    background: #f8f8f8;
}

footer .circle-btn:hover img {
    filter: none;
}

.hero .circle-btn:hover .btn-text {
    opacity: 1;
}

.hero .circle-btn:hover .icon-container {
    background: rgba(255, 255, 255, 0.2);
}

.hero .circle-btn:hover img,
.hero .circle-btn:hover svg,
.hero .circle-btn:hover .material-icons {
    /* transform: scale(1.1); already handled by generic if needed, but here specifics might apply */
    color: white;
    /* Turn icons white on gold background */
    filter: brightness(0) invert(1);
    /* For bitmaps if needed, though SVG fill is better */
}

/* Fix SVG color in Hero Hover since we used filter above which might affect everything */
.hero .circle-btn:hover svg {
    fill: white;
}

/* Reset filter for material icons as color handles it */
.hero .circle-btn:hover .material-icons {
    filter: none;
}

/* Hide text by default in generic buttons if not targeted */
.circle-btn .btn-text {
    display: none;
}

.hero .circle-btn .btn-text {
    display: block;
    /* Show but opacity 0 initially */
}

/* Footer Specific Overrides */
footer .circle-btn {
    width: 40px;
    /* Smaller size as requested */
    height: 40px;
    padding: 0;
    /* Remove padding to center icon better */
    justify-content: center;
}

footer .circle-btn:hover {
    width: 40px;
    /* Do not expand width */
    transform: scale(1.1);
}

footer .circle-btn .icon-container {
    width: 100%;
    height: 100%;
    background: transparent;
    /* Clean look */
    border-radius: 50%;
}

footer .circle-btn .icon-container img,
footer .circle-btn .icon-container svg,
footer .circle-btn .icon-container .material-icons {
    width: 20px;
    /* Smaller icon */
    height: 20px;
    font-size: 20px;
}

/* Ensure text is definitely hidden in footer */
footer .circle-btn .btn-text {
    display: none !important;
}


/* Google Icon SVG Style */
.google-icon-svg path {
    fill: var(--primary-color);
    transition: fill 0.3s;
}

.circle-btn:hover .google-icon-svg path {
    fill: white;
}

/* Specific button styles if any needed */