/* ==================== CSS VARIABLES ==================== */
:root {
    --primary-color: #01796f;
    --secondary-color: #1A1A2E;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --border-color: #E0E0E0;
    --transition: all 0.3s ease;
}

/* ==================== RESET & BASE STYLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #e63939;
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
    text-align: center;
}

/* ==================== TOP BAR ==================== */
/* Top Bar */
.topbar {
  background-color: #1f2933; /* dark neutral */
  color: #ffffff;
  font-size: 0.9rem;
}

.topbar a {
  color: #ffffff;
  text-decoration: none;
}

.topbar a:hover {
  text-decoration: underline;
}

.navbar-logo {
  height: 45px;       /* controls logo size */
  width: auto;
  max-width: 160px;   /* prevents overflow */
}


/* ==================== HEADER ==================== */

/* ==================== PAGE HEADER / BREADCRUMB ==================== */
.page-header {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.page-header-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(26, 26, 46, 0.7), rgba(26, 26, 46, 0.5));
    z-index: 1;
}

.page-header-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-header-content {
    text-align: center;
    color: var(--white);
    z-index: 2;
}

.page-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease-out;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
    animation: fadeInUp 0.8s ease-out;
}

.breadcrumb a {
    color: var(--white);
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb .separator {
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb .current {
    color: var(--primary-color);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== SERVICES GRID SECTION ==================== */
.services-grid-section {
    padding: 100px 0;
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.service-card-large {
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    position: relative;
}

.service-card-large:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-icon-large {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 80px;
    height: 80px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.service-icon-large img {
    width: 40px;
    height: 40px;
}

.service-title-large {
    position: absolute;
    top: 130px;
    left: 30px;
    right: 30px;
    font-size: 24px;
    color: var(--secondary-color);
    z-index: 2;
}

.service-title-large a {
    color: var(--secondary-color);
    transition: var(--transition);
}

.service-title-large a:hover {
    color: var(--primary-color);
}

.service-image-large {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.service-image-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(255, 255, 255, 0.95) 100%);
    z-index: 1;
}

.service-image-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card-large:hover .service-image-large img {
    transform: scale(1.1);
}

.service-description-large {
    padding: 20px 30px;
    color: var(--text-light);
    line-height: 1.8;
}

.service-link-large {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 30px 30px;
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}

.service-link-large:hover {
    gap: 15px;
}

/* ==================== WHY SPECIAL SECTION ==================== */
.why-special-section {
    padding: 100px 0;
    background-color: var(--light-gray);
    position: relative;
    overflow: hidden;
}

.why-special-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    z-index: 0;
}

.why-special-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.why-special-animation {
    position: absolute;
    bottom: 0;
    right: 50px;
    width: 400px;
    opacity: 0.3;
    z-index: 0;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.why-special-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    position: relative;
    z-index: 1;
}

.section-label {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-size: 14px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.section-description {
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.8;
}

/* Progress Bars */
.progress-bars {
    margin-bottom: 40px;
}

.progress-item {
    margin-bottom: 30px;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.progress-title {
    font-weight: 600;
    color: var(--secondary-color);
}

.progress-percentage {
    font-weight: 700;
    color: var(--primary-color);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: rgba(255, 68, 68, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color),#01796f );
    border-radius: 10px;
    width: 0;
    transition: width 1.5s ease-out;
}

.contact-cta {
    display: flex;
    flex-direction: column;
}

.phone-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 5px;
}

/* Quote Form */
.quote-form-container {
    background-color: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.form-title {
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: 30px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 15px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 68, 68, 0.1);
}

/* ==================== FAQ SECTION ==================== */
.faq-section {
    padding: 100px 0;
    background-color: var(--white);
}

.section-header {
    margin-bottom: 60px;
}

.section-header.text-center {
    text-align: center;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto 60px;
}

.faq-item {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    cursor: pointer;
    user-select: none;
}

.faq-question h3 {
    font-size: 18px;
    color: var(--secondary-color);
    margin: 0;
}

.faq-icon {
    width: 30px;
    height: 30px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
    margin-left: 20px;
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 30px 25px;
    color: var(--text-light);
    line-height: 1.8;
}

/* Appointment Form */
.appointment-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--light-gray);
    padding: 50px;
    border-radius: 15px;
}

.appointment-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

/* ==================== NEWSLETTER SECTION ==================== */
.newsletter-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--white);
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-title {
    font-size: 36px;
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
}

.newsletter-form button {
    padding: 15px 30px;
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: #0f0f1e;
}

/* ==================== FOOTER ==================== */
.footer {
    position: relative;
    padding: 80px 0 30px;
    background-color: var(--secondary-color);
    color: var(--white);
}

.footer-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.05;
}

.footer-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 50px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-title {
    font-size: 20px;
    margin-bottom: 25px;
    color: var(--white);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    display: inline-block;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 10px;
}

.opening-hours {
    margin-bottom: 25px;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
}

.copyright a {
    color: var(--primary-color);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

/* ==================== SCROLL TO TOP ==================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 999;
}

.scroll-to-top:hover {
    background-color: #e63939;
    transform: translateY(-5px);
}

.scroll-to-top.show {
    display: flex;
}



   /* WhatsApp Widget Styles */
.whatsapp-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.whatsapp-button {
  background: #25d366;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 20px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
  position: relative;
}

.whatsapp-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-button svg {
  width: 24px;
  height: 24px;
  fill: white;
  flex-shrink: 0;
}

.button-text {
  color: white;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
}

.notification-dot {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 14px;
  height: 14px;
  background: #ff3333;
  border-radius: 50%;
  border: 2px solid white;
  animation: dotPulse 2s infinite;
}

@keyframes dotPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 51, 51, 0.7);
  }
  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 8px rgba(255, 51, 51, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 51, 51, 0);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  }
  50% {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3),
      0 0 0 10px rgba(37, 211, 102, 0.1);
  }
  100% {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  }
}

.whatsapp-popup {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 320px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  transform: scale(0);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform-origin: bottom right;
}

.whatsapp-popup.active {
  transform: scale(1);
  opacity: 1;
}

.popup-header {
  background: #25d366;
  color: white;
  padding: 16px 20px;
  border-radius: 16px 16px 0 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.popup-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  object-fit: cover;
}

.popup-info h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 2px;
}

.popup-info p {
  font-size: 13px;
  opacity: 0.9;
}

.popup-body {
  padding: 20px;
}

.popup-message {
  background: #f0f0f0;
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.4;
  color: #333;
}

.popup-actions {
  display: flex;
  gap: 10px;
}

.popup-btn {
  flex: 1;
  padding: 12px 16px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
}

.popup-btn.primary {
  background: #25d366;
  color: white;
}

.popup-btn.primary:hover {
  background: #22c55e;
  transform: translateY(-1px);
}

.popup-btn.secondary {
  background: #f3f4f6;
  color: #6b7280;
}

.popup-btn.secondary:hover {
  background: #e5e7eb;
}

.close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: background 0.2s ease;
}

.close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}







/* ==================== RESPONSIVE DESIGN ==================== */

@media (max-width: 576px) {
  .navbar-logo {
    height: 38px;
  }
}



/* Tablet Devices */
@media (max-width: 1024px) {
    .page-title {
        font-size: 38px;
    }

    .section-title {
        font-size: 32px;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }

    .why-special-grid {
        gap: 40px;
    }

    .why-special-animation {
        width: 300px;
        right: 20px;
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    /* Top Bar */
    .top-bar-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .top-bar-left {
        flex-direction: column;
        gap: 10px;
    }

    /* Navigation */
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--white);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        overflow-y: auto;
        padding: 80px 20px 20px;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        gap: 0;
    }

    .nav-links > li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links > li > a {
        display: block;
        padding: 15px 0;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .dropdown.active .dropdown-menu {
        max-height: 500px;
    }

    /* Page Header */
    .page-header {
        height: 300px;
    }

    .page-title {
        font-size: 32px;
    }

    /* Services Grid */
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* Why Special */
    .why-special-grid {
        grid-template-columns: 1fr;
    }

    .why-special-animation {
        display: none;
    }

    .phone-number {
        font-size: 22px;
    }

    /* Quote Form */
    .quote-form-container {
        padding: 30px 20px;
    }

    /* FAQ */
    .faq-question {
        padding: 20px;
    }

    .faq-question h3 {
        font-size: 16px;
    }

    .faq-answer p {
        padding: 0 20px 20px;
    }

    /* Appointment Form */
    .appointment-form-wrapper {
        padding: 30px 20px;
    }

    .appointment-form .form-row {
        grid-template-columns: 1fr;
    }

    /* Newsletter */
    .newsletter-title {
        font-size: 28px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .page-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 26px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .service-icon-large {
        width: 60px;
        height: 60px;
        top: 20px;
        left: 20px;
    }

    .service-icon-large img {
        width: 30px;
        height: 30px;
    }

    .service-title-large {
        font-size: 20px;
        top: 100px;
        left: 20px;
    }

    .service-description-large,
    .service-link-large {
        padding-left: 20px;
        padding-right: 20px;
    }
}