/* Shared Widget Layout Styles */
.gire-widget-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 20px;
}

/* Team Showcase Widget Styles */
.gire-team-container {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 30px;
    position: relative;
}

.gire-team-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: fit-content;
}

.gire-team-sidebar button {
  background-color: #e6f3fc;
  border: 2px solid transparent;
  border-radius: 10px;
  padding: 0;
  cursor: pointer;
  text-align: center;
  overflow: hidden;
  transition: all 0.3s ease;
}

.gire-team-sidebar button.active {
  background-color: #005bac;
  border: 2px solid #003f84;
  color: white;
}

.gire-team-sidebar button:hover {
  background-color: #cce8ff;
}

.gire-team-sidebar button.active:hover {
  background-color: #004a99;
}

.gire-team-sidebar button img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0; /* square */
}

.gire-team-sidebar button span {
  display: block;
  background-color: #d7ebf9;
  padding: 8px 0;
  font-weight: 600;
}

.gire-team-sidebar button.active span {
  background-color: #004a99;
  color: white;
}

.gire-profile {
  background: #f2faff;
  border-radius: 12px;
  display: none;
  grid-column: 2;
  grid-row: 1;
  height: 100%;
}

.gire-profile.active {
  display: flex;
  flex-wrap: wrap;
}

.gire-profile-photo {
  flex: 1 1 250px;
  height: 100%;
  display: flex;
  align-items: stretch;
}

.gire-profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.gire-profile-bio {
  flex: 1 1 300px;
  padding: 30px 50px;
}

.gire-profile-bio h3 {
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 10px;
}

.gire-profile-bio p {
  margin-bottom: 15px;
}

.gire-profile-bio ul {
  padding-left: 20px;
  list-style: none;
}

.gire-profile-bio li {
  position: relative;
  padding-left: 20px;
}

.gire-profile-bio li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #0070c9;
}

.gire-profile-bio a {
  display: inline-block;
  margin-top: 10px;
  color: #0070c9;
  font-weight: 600;
  text-decoration: none;
}

.gire-profile-bio a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .gire-team-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: auto;
  }
  
  .gire-team-sidebar {
    flex-direction: row;
    flex: none;
    width: 100%;
    overflow-x: auto;
    gap: 10px;
  }
  
  .gire-team-sidebar button {
    flex: 0 0 120px;
  }
  
  .gire-profile {
    height: auto;
    min-height: auto;
    grid-column: unset;
    grid-row: unset;
  }
  
  .gire-profile.active {
    height: auto;
  }
  
  .gire-profile-photo {
    height: auto;
    max-width: 100%;
  }
  
  .gire-profile-photo img {
    height: auto;
    max-height: 300px;
  }
  
  .gire-profile-bio {
    padding: 20px;
    padding-left: 0;
    padding-top: 20px;
  }
  
  .gire-profile {
    flex-direction: column;
  }
}

/* Treatment Features Widget Styles */

.section-header {
    text-align: left;
    margin-bottom: 40px;
}

.section-subtitle {
    color: #4a90e2;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.2;
}

.main-layout {
    display: grid;
    grid-template-columns: 76% 23%;
    gap: 30px;
    align-items: stretch;
}

.left-column {
    display: grid;
    grid-template-rows: auto auto;
    gap: 20px;
}

.top-row {
    display: grid;
    grid-template-columns: 40% 29% 26.7%;
    gap: 20px;
}

.bottom-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.main-card {
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    color: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.2);
    transition: transform 0.3s ease;
}

.main-card:hover {
    transform: translateY(-3px);
}

.main-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.main-card p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
    opacity: 0.95;
}

.feature-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 2px solid #e2e8f0;
    /* Prevent layout shifts during hover */
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    border-color: #005bac;
    /* Slightly higher z-index to prevent interference */
    z-index: 2;
}

.feature-title {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.icon-wrapper {
    width: 40px;
    height: 40px;
    background: #4a90e2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
}

.feature-description {
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.read-more {
    color: #4a90e2;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #357abd;
}

.read-more::after {
    content: '→';
    transition: transform 0.3s ease;
}

.read-more:hover::after {
    transform: translateX(3px);
}

.main-card .read-more {
    color: rgba(255, 255, 255, 0.9);
}

.main-card .read-more:hover {
    color: white;
}

.right-column {
    position: relative;
}

.hero-image {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Treatment Features Responsive Design */
@media (max-width: 1024px) {
    .main-layout {
        grid-template-columns: 1fr;
    }
    
    .top-row {
        grid-template-columns: 1fr;
    }
    
    .bottom-row {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .bottom-row {
        grid-template-columns: 1fr;
    }
    
    .hero-image {
        height: 300px;
    }
    
    .treatment-section {
        padding: 40px 15px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .main-card {
        padding: 30px;
    }
    
    .feature-card {
        padding: 20px;
    }
}

/* Enhanced Features for Treatment Widget */

/* Hero Image Cards */
.feature-card.hero-image-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-hero-image {
    width: 100%;
    height: 100% !important;
    min-height: 200px;
    object-fit: cover;
    display: block;
}

/* Icon Images */
.icon-wrapper .icon-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

/* Height Matching - Right Column */

.right-column {
    display: flex;
    flex-direction: column;
}

.hero-image {
    flex: 1;
    width: 100%;
    min-height: 100%;
    border-radius: 15px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Ensure all feature cards have equal height in their rows */
.top-row, .bottom-row {
    display: grid;
    align-items: stretch;
}

.top-row .feature-card, 
.bottom-row .feature-card,
.feature-card.hero-image-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-card.hero-image-card {
    min-height: 150px;
}

/* Content cards should flex their content */
.feature-card:not(.hero-image-card) {
    justify-content: space-between;
}

.feature-description {
    flex: 1;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .main-layout {
        grid-template-columns: 1fr;
        align-items: start;
    }
    
    .hero-image {
        height: 400px;
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .hero-image {
        height: 300px;
        min-height: 300px;
    }
    
    .feature-card.hero-image-card {
        min-height: 120px;
    }
    
    .feature-hero-image {
        min-height: 120px;
    }
}

/* Achievements Widget Styles */

.achievements-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.left-content {
    display: grid;
    grid-template-rows: auto auto;
    gap: 40px;
}

.text-content {
    padding-right: 20px;
}

.achievements-subtitle {
    color: #4a90e2;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.achievements-title {
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.2;
    margin-bottom: 20px;
}

.achievements-description {
    color: #64748b;
    font-size: 16px;
    line-height: 1.6;
}

.logos-grid {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
}

.logos-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.logo-card {
    background: white;
    border-style: solid;
    border-width: 2px;
    border-color: #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    transition: all 0.3s ease;
}

.logo-card:hover {
    border-color: #4a90e2;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.1);
}

.logo-card img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
}

.logo-text {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    text-align: center;
    line-height: 1.2;
}

.right-image {
    position: relative;
}

.achievements-image {
    width: 100%;
    height: 100%;
    min-height: 500px;
    border-radius: 15px;
    object-fit: cover;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Achievements Responsive Design */
@media (max-width: 1024px) {
    .achievements-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .achievements-title {
        font-size: 30px;
    }
    
    .logos-row {
        grid-template-columns: 1fr 1fr;
    }
    
    .achievements-image {
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .logos-row {
        grid-template-columns: 1fr;
    }
    
    .achievements-image {
        min-height: 300px;
    }
    
    .text-content {
        padding-right: 0;
    }
    
    .achievements-title {
        font-size: 28px;
    }
    
    /* Mobile Carousel for Achievement Logos */
    .logos-grid {
        position: relative;
        overflow: hidden;
        padding: 0 50px; /* Space for navigation arrows */
        display: block; /* Override grid display */
    }
    
    .logos-row {
        display: flex !important; /* Override grid display */
        grid-template-columns: none !important; /* Remove grid columns */
        grid-template-rows: none !important; /* Remove grid rows */
        gap: 20px;
        overflow-x: auto;
        scroll-behavior: smooth;
        scroll-snap-type: x mandatory;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* Internet Explorer 10+ */
        padding: 0 20px;
        position: relative;
    }
    
    .logos-row::-webkit-scrollbar {
        display: none; /* Safari and Chrome */
    }
    
    .logo-card {
        flex: 0 0 70%;
        scroll-snap-align: center;
        margin: 0 15px;
        position: relative;
    }
    
    /* Navigation Arrows */
    .logos-nav-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 44px;
        /* height: 44px; */
        background: rgba(255, 255, 255, 0.95);
        border: 2px solid lightgray;
        border-radius: 10%;
        color: gray;
        font-size: 18px;
        font-weight: bold;
        cursor: pointer;
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        box-shadow: 0 4px 20px rgba(74, 144, 226, 0.25);
    }
    
    .logos-nav-arrow:hover {
        background: #4a90e2;
        color: white;
        transform: translateY(-50%) scale(1.05);
        box-shadow: 0 6px 25px rgba(74, 144, 226, 0.4);
    }
    
    .logos-nav-arrow:active {
        transform: translateY(-50%) scale(0.95);
    }
    
    .logos-nav-arrow.prev {
        left: 10px;
    }
    
    .logos-nav-arrow.next {
        right: 10px;
    }
    
    /* Fade Effects */
    .logos-grid::before,
    .logos-grid::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 40px;
        z-index: 5;
        pointer-events: none;
    }
    
    .logos-grid::before {
        left: 50px;
        background: linear-gradient(to right, rgba(255, 255, 255, 0.9), transparent);
    }
    
    .logos-grid::after {
        right: 50px;
        background: linear-gradient(to left, rgba(255, 255, 255, 0.9), transparent);
    }
}

/* Services Widget Styles */

.services-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.services-text {
    flex: 1;
}

.services-subtitle {
    color: #4a90e2;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.services-title {
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.2;
}

.services-description {
    font-size: 16px;
    color: #666666;
    line-height: 1.6;
    margin-top: 15px;
}

.services-description p {
    margin: 0 0 15px 0;
}

.services-description p:last-child {
    margin-bottom: 0;
}

.view-all-link {
    color: #4a90e2;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.view-all-link:hover {
    color: #357abd;
}

.view-all-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.view-all-link:hover::after {
    transform: translateX(4px);
}

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

.services-column {
    display: grid;
    gap: 20px;
}

.left-column {
    grid-template-rows: 1fr 1fr;
}

.middle-column {
    grid-template-rows: 1fr;
}

.right-column {
    grid-template-rows: 1fr 1fr;
}

.service-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.service-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.service-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 30px 25px 25px;
    color: white;
}

.service-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.service-description {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.4;
}

/* Special styling for middle card */
.middle-column .service-overlay {
    padding: 40px 30px 30px;
}

.middle-column .service-name {
    font-size: 24px;
    margin-bottom: 8px;
}

.middle-column .service-description {
    font-size: 16px;
}

/* Services Responsive Design */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .services-column {
        grid-template-rows: none;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    .middle-column {
        grid-column: span 2;
    }
    
    .services-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .services-title {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .services-column {
        grid-template-columns: 1fr;
    }
    
    .middle-column {
        grid-column: span 1;
    }
    
    .services-title {
        font-size: 28px;
    }
}

/* Blog Posts Widget Styles */

.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.blog-text {
    flex: 1;
}

.blog-subtitle {
    color: #4a90e2;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.blog-title {
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.2;
}

.view-all-blogs {
    color: #4a90e2;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.view-all-blogs:hover {
    color: #357abd;
}

.view-all-blogs::after {
    content: '→';
    transition: transform 0.3s ease;
}

.view-all-blogs:hover::after {
    transform: translateX(4px);
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
}

.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

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

.blog-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.blog-content {
    padding: 25px;
}

.blog-category {
    display: inline-block;
    background: #4a90e2;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #64748b;
}

.blog-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.author-icon {
    width: 16px;
    height: 16px;
    background: #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #64748b;
}

.author-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.blog-date {
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-main-date {
    display: flex;
    align-items: center;
    gap: 8px;
}

.date-icon {
    width: 16px;
    height: 16px;
    background: #e2e8f0;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #64748b;
}

.date-icon i {
    font-size: 16px;
}

.blog-post-title {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.3;
    margin-bottom: 12px;
}

.blog-post-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-post-title a:hover {
    color: #4a90e2;
}

.blog-excerpt {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.read-more-blog {
    color: #4a90e2;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
}

.read-more-blog:hover {
    color: #357abd;
}

.read-more-blog::after {
    content: '→';
    transition: transform 0.3s ease;
}

.read-more-blog:hover::after {
    transform: translateX(3px);
}

/* Blog Posts Responsive Design */
@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }
    
    .blog-title {
        font-size: 30px;
    }
    
    .blog-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .blog-title {
        font-size: 26px;
    }
    
    .blog-image {
        height: 200px;
    }
}

/* Office Locations Widget Styles */

.locations-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.locations-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.map-container {
    position: relative;
    height: 500px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-embed {
    width: 100%;
    height: 100%;
    border: none;
    transition: opacity 0.3s ease;
}

.locations-content {
    padding-left: 20px;
}

.locations-title {
    font-size: 36px;
    font-weight: 700;
    color: #0168B0;
    margin-bottom: 20px;
}

.locations-description {
    color: #64748b;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.location-highlight {
    font-weight: 600;
    color: #2c3e50;
}

.location-cards {
    display: grid;
    gap: 15px;
    margin-bottom: 30px;
}

.location-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.location-card:hover {
    border-color: #4a90e2;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.15);
}

.location-card.active {
    background: #4a90e2;
    border-color: #4a90e2;
    color: white;
}

.location-card-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-info-column {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Fix for iPhone automatic phone link styling */
.contact-info a,
.contact-info a:link,
.contact-info a:visited,
.contact-info a:hover,
.contact-info a:active {
    color: inherit !important;
    text-decoration: none !important;
    border: none !important;
    background: none !important;
}

/* Ensure phone links maintain proper color in active state */
.location-card.active .contact-info a,
.location-card.active .contact-info a:link,
.location-card.active .contact-info a:visited,
.location-card.active .contact-info a:hover,
.location-card.active .contact-info a:active {
    color: white !important;
    text-decoration: none !important;
    border: none !important;
    background: none !important;
}

.location-card.active .location-name,
.location-card.active .location-address,
.location-card.active .contact-info,
.location-card.active .contact-info span,
.location-card.active .hours-info {
    color: white;
}

.location-card.active .contact-info {
    opacity: 0.9;
}

.location-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0;
}

.location-icon {
    width: 24px;
    height: 24px;
    background: #4a90e2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    flex-shrink: 0;
    overflow: hidden;
}

.location-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.location-card.active .location-icon {
    background: rgba(255, 255, 255, 0.2);
}

.location-name {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.2;
}

.location-address {
    color: #64748b;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 0;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #64748b;
}

/* Additional phone link override for any automatic detection */
.contact-info span a,
.contact-info span a[href^="tel:"],
.location-card .contact-info span a,
.location-card .contact-info span a[href^="tel:"] {
    color: inherit !important;
    text-decoration: none !important;
    border: none !important;
    background: none !important;
    -webkit-text-decoration-color: transparent !important;
    text-decoration-color: transparent !important;
}

/* Active state phone link overrides */
.location-card.active .contact-info span a,
.location-card.active .contact-info span a[href^="tel:"] {
    color: white !important;
    text-decoration: none !important;
    border: none !important;
    background: none !important;
    -webkit-text-decoration-color: transparent !important;
    text-decoration-color: transparent !important;
}

.contact-icon {
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.hours-info {
    font-size: 12px;
    line-height: 1.3;
}

.take-tour-btn {
    background: #4a90e2;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s ease;
    text-decoration: none;
}

.take-tour-btn:hover {
    background: #357abd;
    color: white;
}

.take-tour-btn::after {
    content: '→';
    transition: transform 0.3s ease;
}

.take-tour-btn:hover::after {
    transform: translateX(3px);
}

/* Office Locations Responsive Design */
@media (max-width: 1024px) {
    .locations-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .locations-content {
        padding-left: 0;
    }
    
    .map-container {
        height: 400px;
    }
    
    .locations-title {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .location-card-content {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .map-container {
        height: 300px;
    }
    
    .locations-title {
        font-size: 26px;
    }
}

/* Footer Widget Styles */

.gire-footer {
    background-color: #4a90e2;
    color: white;
    padding: 60px 0 0 0;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

/* More specific selectors to override theme styles */
.gire-footer .footer-content,
.gire-footer .footer-section,
.gire-footer .nav-links,
.gire-footer .social-links,
.gire-footer .footer-links {
    color: white !important;
}

.gire-footer .nav-links a,
.gire-footer .social-links a,
.gire-footer .footer-links a {
    color: white !important;
    text-decoration: none !important;
}

.gire-footer .nav-links a:hover,
.gire-footer .social-links a:hover,
.gire-footer .footer-links a:hover {
    color: white !important;
    text-decoration: none !important;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 28px;
    margin-bottom: 30px;
    font-weight: 300;
    color: white;
}

.logo-section {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    margin-bottom: 20px;
    display: inline-block;
    line-height: 0;
}

.footer-logo img {
    display: block;
    height: auto;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.footer-description {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
}

.social-section h4 {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: normal;
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.social-links a {
    color: white !important;
    font-size: 20px;
    opacity: 0.8;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

.social-links a:hover {
    opacity: 1 !important;
    transform: translateY(-2px);
    color: white !important;
    text-decoration: none !important;
}

.nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-links li {
    margin-bottom: 12px;
}

.nav-links a {
    color: white !important;
    text-decoration: none !important;
    font-size: 16px;
    opacity: 0.9;
    transition: opacity 0.3s ease !important;
}

.nav-links a:hover {
    opacity: 1 !important;
    color: white !important;
    text-decoration: none !important;
}

.office-info {
    margin-bottom: 40px;
}

.office-info h4 {
    font-size: 18px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: white;
}

.office-info h4 i {
    margin-right: 8px;
    color: white;
}

.office-details {
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.9;
    margin-bottom: 15px;
    color: white;
}

.office-phone {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    cursor: pointer;
    color: white;
}

.office-phone i {
    margin-right: 8px;
    color: white;
}

.office-hours {
    font-size: 14px;
    opacity: 0.9;
    display: flex;
    align-items: flex-start;
    color: white;
}

.office-hours i {
    margin-right: 8px;
    margin-top: 2px;
    color: white;
}

.hours-text {
    line-height: 1.4;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
}

.footer-bottom-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright a {
    color: white !important;
    text-decoration: none !important;
    opacity: 0.8;
    transition: opacity 0.3s ease !important;
}

.copyright a:hover {
    opacity: 1 !important;
    color: white !important;
    text-decoration: underline !important;
}

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

.footer-links a {
    color: white !important;
    text-decoration: none !important;
    opacity: 0.8;
    transition: opacity 0.3s ease !important;
}

.footer-links a:hover {
    opacity: 1 !important;
    color: white !important;
    text-decoration: none !important;
}

/* Footer Responsive Design */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: left;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .social-links {
        justify-content: flex-start;
    }
}

@media (max-width: 992px) and (min-width: 769px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

/* Treatment Description Widget Styles */

.treatment-description-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 20px;
}

.treatment-description-container .breadcrumb {
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
    clear: none !important;
    float: none !important;
    width: auto !important;
    padding: 0 !important;
    font-weight: normal !important;
}

.treatment-description-container .breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.treatment-description-container .breadcrumb a:hover {
    text-decoration: underline;
    color: #0168B0;
}

.treatment-description-container .main-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    clear: both;
    float: none;
    width: 100%;
}

.treatment-description-container .sidebar {
    min-width: 280px;
    background: linear-gradient(135deg, #0168B0 0%, #1e40af 100%);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.treatment-description-container .sidebar-item {
    display: block;
    padding: 20px 25px;
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.treatment-description-container .sidebar-item.active {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.treatment-description-container .sidebar-item.active::after {
    content: '→';
    position: absolute;
    right: 25px;
    font-size: 18px;
}

.treatment-description-container .sidebar-item:not(.active) {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

.treatment-description-container .sidebar-item:hover:not(.active) {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    transform: translateX(5px);
}

.treatment-description-container .content {
    flex: 1;
    padding: 0 20px;
}

.treatment-description-container .content h1 {
    font-size: 32px;
    color: #0168B0;
    margin-bottom: 30px;
    font-weight: 600;
    line-height: 1.2;
}

.treatment-description-container .subtitle {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1f2937;
}

.treatment-description-container .description {
    font-size: 16px;
    color: #4b5563;
    margin-bottom: 25px;
    line-height: 1.7;
}

.treatment-description-container .description p {
    margin-bottom: 20px;
}

.treatment-description-container .description p:last-child {
    margin-bottom: 0;
}

.treatment-description-container .how-it-works {
    margin-top: 40px;
}

.treatment-description-container .how-it-works h2 {
    font-size: 24px;
    color: #0168B0;
    margin-bottom: 30px;
    font-weight: 600;
}

.treatment-description-container .how-it-works-description {
    font-size: 16px;
    color: #4b5563;
    margin-bottom: 30px;
    line-height: 1.7;
}

.treatment-description-container .steps {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.treatment-description-container .step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.treatment-description-container .step:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.treatment-description-container .step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #0168B0;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
}

.treatment-description-container .step-content {
    flex: 1;
}

.treatment-description-container .step-title {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
}

.treatment-description-container .step-description {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.6;
}

/* Treatment Description Responsive Design */
@media (max-width: 768px) {
    .treatment-description-container .main-content {
        flex-direction: column;
        gap: 20px;
        clear: both;
        float: none;
        width: 100%;
    }
}

/* Treatment Information Widget Styles */

.treatment-info-section {
    background-color: #f8f9fa;
    padding: 60px 0;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.treatment-info-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 40px;
}

/* Image position control - minimal addition */
.treatment-info-content.image-left .text-content {
    order: 2;
}

.treatment-info-content.image-left .image-container {
    order: 1;
}

.treatment-info-section .text-content {
    padding-right: 20px;
}

.treatment-info-section .section-title {
    font-size: 32px;
    color: #0168B0;
    margin-bottom: 20px;
    font-weight: 600;
    line-height: 1.3;
    text-align: left !important;
}

.treatment-info-description {
    font-size: 16px;
    color: #4b5563;
    margin-bottom: 20px;
    line-height: 1.7;
}

.section-description {
    font-size: 16px;
    color: #4b5563;
    margin-bottom: 20px;
    line-height: 1.7;
    width: 100%;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-break: break-word;
}

.treatment-types {
    margin-top: 40px;
}

.treatment-types-title {
    font-size: 28px;
    color: #0168B0;
    margin-bottom: 30px;
    font-weight: 600;
}

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

.treatment-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 5px 0;
    font-size: 16px;
    color: #374151;
    transition: all 0.3s ease;
    cursor: pointer;
}

.treatment-item:hover {
    transform: translateX(5px);
    color: #0168B0;
}

.check-icon {
    width: 24px;
    height: 24px;
    background: #0168B0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

.check-icon::after {
    content: '✓';
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.patient-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.patient-image.placeholder {
    background: linear-gradient(135deg, #ffeaa7, #fab1a0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
    font-weight: 600;
}

.brand-overlay {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    padding: 15px 25px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.brand-overlay .brand {
    font-size: 32px;
    font-weight: 300;
    color: #374151;
    letter-spacing: 2px;
}

.brand-overlay .tagline {
    font-size: 12px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}

.benefits-section {
    background: linear-gradient(135deg, #0168B0 0%, #1e40af 100%);
    color: white;
    padding: 60px 0;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.benefits-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}

.benefits-title {
    font-size: 25px;
    font-weight: normal;
    line-height: 1.2;
    color: white !important;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

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

.benefit-bullet {
    width: 8px;
    height: 8px;
    background: #60a5fa;
    border-radius: 50%;
    margin-top: 8px;
    flex-shrink: 0;
}

.benefit-text {
    font-size: 16px;
    line-height: 1.6;
}

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

/* Treatment Information Responsive Design */
@media (max-width: 768px) {
    .treatment-info-content {
        grid-template-columns: 1fr !important;
        gap: 40px;
    }
    
    .treatment-info-section .text-content {
        padding-right: 0;
        order: 2;
        width: 100% !important; /* Override any width control on mobile */
        max-width: none !important;
    }
    
    .image-container {
        order: 1;
        width: 100% !important; /* Ensure image container takes full width */
        max-width: 100% !important;
        box-sizing: border-box;
    }
    
    .image-container .patient-image {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        object-fit: cover;
    }
    
    .section-description {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        overflow-wrap: break-word;
        word-break: break-word;
    }
    
    .treatment-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .benefits-title {
        font-size: 22px;
    }
    
    .treatment-types-title {
        font-size: 24px;
    }
}

/* Promotional Offers Widget Styles */

.offer-section {
    padding: 20px;
}

.offer-section .container {
    max-width: 1400px;
    margin: 0 auto;
}

.offer-banner {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    border-radius: 15px;
    border: 2px solid #4a90e2;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
    overflow: hidden;
}

.price-badge {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-radius: 50px;
    padding: 20px 30px;
    text-align: center;
    min-width: 160px;
    flex-shrink: 0;
}

.price-amount {
    font-size: 32px;
    font-weight: 700;
    color: #0168B0;
    line-height: 1;
}

.offer-content {
    flex: 1;
}

.offer-title {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
    line-height: 1.4;
}

.offer-description {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
}

.offer-description a {
    color: #0168B0;
    text-decoration: underline;
}

.offer-description a:hover {
    color: #1e40af;
}

.claim-button {
    background: linear-gradient(135deg, #0168B0 0%, #1e40af 100%);
    color: white;
    padding: 12px 28px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(1, 104, 176, 0.3);
}

.claim-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(1, 104, 176, 0.4);
    color: white;
    text-decoration: none;
}

.claim-button:active {
    transform: translateY(0);
}

/* Promotional Offers Responsive Design */
@media (max-width: 768px) {
    .offer-banner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 25px 20px;
    }
    
    .price-badge {
        min-width: auto;
    }
    
    .offer-title {
        font-size: 16px;
    }
    
    .offer-description {
        font-size: 13px;
    }
    
    .claim-button {
        width: 100%;
        padding: 14px 28px;
    }
}

@media (max-width: 480px) {
    .offer-section {
        padding: 15px;
    }
    
    .offer-banner {
        padding: 20px 15px;
    }
    
    .price-amount {
        font-size: 28px;
    }
    
    .offer-title {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .treatment-description-container .main-content {
        flex-direction: column;
        gap: 20px;
        clear: both;
        float: none;
        width: 100%;
    }
    
    .treatment-description-container .sidebar {
        min-width: auto;
        width: 100%;
    }
    
    .treatment-description-container .content {
        padding: 0;
    }
    
    .treatment-description-container .content h1 {
        font-size: 28px;
    }
    
    .treatment-description-container .step {
        flex-direction: row;
        text-align: left;
        gap: 15px;
        align-items: flex-start;
    }
    
    .treatment-description-container .step-number {
        align-self: flex-start;
        flex-shrink: 0;
    }
    
    .treatment-description-container .step-content {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    
    .treatment-description-container {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .treatment-description-container .content h1 {
        font-size: 24px;
    }
    
    .treatment-description-container .subtitle {
        font-size: 18px;
    }
    
    .treatment-description-container .how-it-works h2 {
        font-size: 20px;
    }
    
    .treatment-description-container .step {
        padding: 20px;
    }
}

/* FAQ Widget Styles */

.faq-section {
    padding: 60px 20px;
}

.faq-container {
    max-width: 1400px;
    margin: 0 auto;
}

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

.faq-subtitle {
    color: #0168B0;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.faq-title {
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.2;
    margin-bottom: 20px;
}

.faq-description {
    font-size: 16px;
    color: #64748b;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.faq-item:hover {
    border-color: #4a90e2;
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.15);
    transform: translateY(-2px);
}

.faq-item.active {
    border-color: #4a90e2;
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.15);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    transition: all 0.3s ease;
    user-select: none;
    position: relative;
}

.faq-question:hover {
    color: #4a90e2;
}

.faq-question[data-icon-position="left"] {
    flex-direction: row;
}

.faq-question[data-icon-position="right"] {
    flex-direction: row-reverse;
    justify-content: space-between;
}

.faq-question[data-icon-position="right"] .question-text {
    flex: 1;
    text-align: left;
}

.question-text {
    flex: 1;
    line-height: 1.4;
}

.faq-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #0168B0 0%, #1e40af 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    font-size: 20px;
    font-weight: bold;
    transition: all 0.3s ease;
    flex-shrink: 0;
    line-height: 1;
    font-family: monospace;
}

.faq-item:hover .faq-icon {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    transform: scale(1.1);
    color: white !important;
}

.faq-item.active .faq-icon {
    background: linear-gradient(135deg, #0146A6 0%, #013d92 100%);
    transform: rotate(0deg);
    color: white !important;
}

.faq-answer {
    padding: 0 25px 25px 25px;
    color: #64748b;
    font-size: 16px;
    line-height: 1.6;
    animation: fadeInDown 0.3s ease-out;
}

.faq-answer p {
    margin-bottom: 15px;
    color: inherit;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul,
.faq-answer ol {
    margin: 15px 0;
    padding-left: 20px;
}

.faq-answer li {
    margin-bottom: 8px;
    color: inherit;
}

.faq-answer a {
    color: #0168B0;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.faq-answer a:hover {
    color: #1e40af;
}

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

/* FAQ Responsive Design */
@media (max-width: 1024px) {
    .faq-title {
        font-size: 30px;
    }
    
    .faq-section {
        padding: 50px 15px;
    }
}

@media (max-width: 768px) {
    .faq-title {
        font-size: 26px;
    }
    
    .faq-question {
        padding: 18px 20px;
        font-size: 16px;
        gap: 12px;
    }
    
    .faq-answer {
        padding: 0 20px 20px 20px;
        font-size: 15px;
    }
    
    .faq-icon {
        width: 28px;
        height: 28px;
        font-size: 18px;
    }
    
    .faq-section {
        padding: 40px 15px;
    }
    
    .faq-header {
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .faq-title {
        font-size: 24px;
    }
    
    .faq-question {
        padding: 15px 18px;
        font-size: 15px;
    }
    
    .faq-answer {
        padding: 0 18px 18px 18px;
        font-size: 14px;
    }
    
    .faq-icon {
        width: 26px;
        height: 26px;
        font-size: 16px;
    }
    
    .faq-list {
        gap: 12px;
    }
}

/* CTA Section Widget Styles */
.gire-cta-section {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.gire-cta-section .cta-section {
    background-color: #f8f9fc;
    position: relative;
    overflow: hidden;
    padding: 60px 0;
}

.gire-cta-section .cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(74, 144, 226, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(74, 144, 226, 0.02) 0%, transparent 50%);
    animation: gire-float 15s ease-in-out infinite;
}

@keyframes gire-float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.gire-cta-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.gire-cta-section .cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.gire-cta-section .cta-text {
    flex: 1;
    /* Removed default white color to allow individual heading/subtext colors */
}

.gire-cta-section .cta-heading {
    font-size: 23px;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #4a90e2 !important;
}

.gire-cta-section .cta-subtext {
    font-size: 18px;
    color: #4b5563 !important;
    line-height: 1.5;
    font-weight: 300;
    margin: 0;
}

.gire-cta-section .cta-button-container {
    flex-shrink: 0;
}

.gire-cta-section .cta-button {
    background: #4a90e2 !important;
    color: white !important;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    text-transform: capitalize !important;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 15px rgba(74, 144, 226, 0.3),
        0 0 0 1px rgba(74, 144, 226, 0.1);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

.gire-cta-section .cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.gire-cta-section .cta-button:hover::before {
    left: 100%;
}

.gire-cta-section .cta-button:hover {
    background: #357abd !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 
        0 8px 25px rgba(74, 144, 226, 0.4),
        0 0 0 1px rgba(74, 144, 226, 0.2);
}

.gire-cta-section .cta-button:active {
    transform: translateY(0px);
}

.gire-cta-section .button-icon {
    font-size: 18px;
    transition: transform 0.3s ease;
    color: white !important;
}

.gire-cta-section .cta-button:hover .button-icon {
    transform: translateX(3px);
}

.gire-cta-section .accent-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.gire-cta-section .accent-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: gire-twinkle 3s ease-in-out infinite;
}

.gire-cta-section .accent-dot:nth-child(1) {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.gire-cta-section .accent-dot:nth-child(2) {
    top: 70%;
    right: 20%;
    animation-delay: 1s;
}

.gire-cta-section .accent-dot:nth-child(3) {
    bottom: 30%;
    left: 25%;
    animation-delay: 2s;
}

@keyframes gire-twinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

@media (max-width: 768px) {
    .gire-cta-section .cta-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .gire-cta-section .cta-heading {
        font-size: 28px;
    }
    
    .gire-cta-section .cta-subtext {
        font-size: 16px;
    }
    
    .gire-cta-section .cta-button {
        padding: 16px 32px;
        font-size: 15px;
    }
    
    .gire-cta-section .cta-section {
        padding: 50px 0;
    }
}

@media (max-width: 480px) {
    .gire-cta-section .cta-heading {
        font-size: 24px;
        line-height: 1.4;
    }
    
    .gire-cta-section .container {
        padding: 0 15px;
    }
    
    .gire-cta-section .cta-button {
        padding: 15px 28px;
        font-size: 14px;
    }
}

/* Treatment Cards Widget Styles */

.treatment-cards-section {
    padding: 60px 20px;
}

.treatment-cards-container {
    max-width: 1400px;
    margin: 0 auto;
}

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

.treatment-cards-section .section-title {
    font-size: 40px;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.treatment-cards-section .section-subtitle {
    font-size: 18px;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto 20px auto;
    line-height: 1.6;
}

.treatment-cards-section .section-description {
    font-size: 16px;
    color: #5c6470;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.treatment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.treatment-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e8ecef;
    cursor: pointer;
}

.treatment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.treatment-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.treatment-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(2px);
}

.treatment-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    z-index: 1;
}

.tooth-icon {
    position: relative;
    z-index: 2;
    font-size: 64px;
    color: white;
    opacity: 0.8;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.treatment-content {
    padding: 25px;
}

.treatment-badge {
    display: inline-block;
    background: #0168B0;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.treatment-title {
    font-size: 22px;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.3;
}

.treatment-description {
    color: #5a6c7d;
    line-height: 1.6;
    font-size: 15px;
    margin: 0;
}

/* Treatment Cards Read More Styles */
.treatment-description-wrapper {
    position: relative;
}

.treatment-description-truncated {
    position: relative;
    padding-bottom: 35px; /* Space for the read more button */
}

.treatment-fade-overlay {
    position: absolute;
    bottom: 30px; /* Position above the read more button */
    left: 0;
    right: 0;
    height: 25px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), white);
    pointer-events: none;
    z-index: 1;
}

.treatment-read-more-btn {
    background: none;
    border: none;
    color: #0168B0;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    margin-top: 10px;
    padding: 0;
    text-decoration: none !important;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    position: relative;
    z-index: 2;
}

.treatment-read-more-btn:hover {
    color: #014a7a;
    text-decoration: none !important;
    background: none !important;
}

.treatment-read-more-btn:focus {
    outline: none;
    color: #014a7a;
    text-decoration: none !important;
    background: none !important;
}

.treatment-read-more-btn::after {
    content: "→";
    font-size: 16px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.treatment-read-more-btn.read-less-state::after {
    content: "←";
    font-size: 16px;
}

.treatment-read-more-btn:hover::after {
    transform: translateX(2px);
}

.treatment-read-more-btn.read-less-state:hover::after {
    transform: translateX(-2px);
}

.treatment-description-full {
    animation: fadeInDescription 0.3s ease-in-out;
}

@keyframes fadeInDescription {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 200px;
    }
}

/* Treatment Cards Responsive Design */
@media (max-width: 768px) {
    .treatment-cards-section {
        padding: 40px 20px;
    }
    
    .treatment-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .treatment-cards-section .section-title {
        font-size: 32px;
    }
    
    .treatment-cards-section .section-subtitle {
        font-size: 16px;
    }
    
    .treatment-content {
        padding: 20px;
    }
    
    .treatment-title {
        font-size: 20px;
    }
    
    .treatment-description {
        font-size: 14px;
    }
}

/* Expandable Button Widget Styles */

.expandable-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.expandable-btn {
    background: #ffffff;
    border: 2px solid #4a90e2;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 16px;
    color: #4a90e2;
    text-decoration: none;
    outline: none;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.expandable-btn.collapsed {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.expandable-btn.expanded {
    width: 200px;
    height: 50px;
    padding: 0 20px 0 0;
    border-radius: 25px;
}

.btn-content {
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    width: 100%;
    height: 100%;
    position: relative;
}

.expandable-btn.collapsed .btn-content {
    justify-content: center;
}

.expandable-btn.expanded .btn-content {
    justify-content: flex-start;
}

.btn-icon {
    font-size: 28px;
    font-weight: 300;
    line-height: 1;
    transition: all 0.3s ease;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: inherit;
}

.btn-text {
    opacity: 0;
    width: 0;
    margin-left: 0;
    transition: all 0.3s ease;
    font-weight: 500;
    color: inherit;
    overflow: hidden;
}

.expandable-btn.expanded .btn-icon {
    transform: rotate(360deg);
}

.expandable-btn.expanded .btn-text {
    opacity: 1;
    width: auto;
    margin-left: 10px;
}

.expandable-btn:hover {
    background-color: #f8f9fa;
    border-color: #357abd;
    transform: scale(1.05);
    text-decoration: none;
    color: #357abd;
}

.expandable-btn:active {
    transform: scale(0.95);
}

.expandable-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
}

/* Expandable Button Responsive Design */
@media (max-width: 768px) {
    .expandable-btn.expanded {
        width: 180px;
    }
    
    .btn-icon {
        font-size: 24px;
    }
    
    .btn-text {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .expandable-btn.expanded {
        width: 160px;
    }
    
    .expandable-btn.collapsed {
        width: 45px;
        height: 45px;
    }
    
    .btn-icon {
        font-size: 22px;
        width: 45px;
        height: 45px;
    }
}

/* ====================================
   Doctor Bio Widget Styles
   ==================================== */

.doctor-bio-hero {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: start;
    color: #222;
}

.doctor-bio-hero.photo-left {
    grid-template-columns: 0.8fr 1.2fr;
}

.chip {
    display: inline-block;
    background: #e6f0ff;
    color: #2f89ff;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
}

.doctor-title {
    font-size: 2.5rem;
    margin: 10px 0;
    color: #2c3e50;
}

.doctor-title .highlight {
    color: #0168B0;
}

.doctor-description {
    color: #5c6470;
    margin-bottom: 20px;
    font-size: 1rem;
}

/* Read More Functionality */
.doctor-description-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.doctor-description-truncated {
    position: relative;
    margin-bottom: 0;
}

.description-content {
    position: relative;
}

.description-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(transparent, #ffffff);
    pointer-events: none;
}

.read-more-btn {
    background: none !important;
    border: none !important;
    color: #4a90e2 !important;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    padding: 0 !important;
    margin-top: 10px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    outline: none;
    box-shadow: none !important;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    position: relative;
    z-index: 2;
}

.read-more-btn:hover {
    color: #2370d8 !important;
    text-decoration: none !important;
    transform: none !important;
    box-shadow: none !important;
    background: none !important;
}

/* Default "Read More" state - right arrow */
.read-more-btn::after {
    content: '→';
    font-size: 16px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.read-more-btn:hover::after {
    transform: translateX(2px);
}

/* "Read Less" state - left arrow */
.read-more-btn.read-less-state::after {
    content: '←';
    font-size: 16px;
    transform: none;
}

.read-more-btn.read-less-state:hover::after {
    transform: translateX(-2px);
}

.read-more-btn:focus {
    outline: none;
    box-shadow: none !important;
    color: #2370d8 !important;
    background: none !important;
}

.read-more-btn:active {
    color: #2370d8 !important;
    transform: none !important;
    background: none !important;
}

.stats {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.stat {
    background: white;
    padding: 8px 14px;
    border: 1px solid #ddd;
    border-radius: 999px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.stat svg {
    width: 16px;
    height: 16px;
    stroke: #2f89ff;
}

.btn-primary {
    background: #2f89ff;
    color: white;
    border: none;
    padding: 10px 18px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 20px;
    transition: background 0.2s ease, transform 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background: #2370d8;
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

/* Button Alignment Styles */
.button-wrapper {
    margin-bottom: 20px;
}

.button-wrapper.align-left {
    text-align: left;
}

.button-wrapper.align-center {
    text-align: center;
}

.button-wrapper.align-right {
    text-align: right;
}

.cert-images {
    display: flex;
    gap: 20px;
    margin-top: 10px;
    justify-content: center;
}

.cert-images img {
    height: 60px;
    border-radius: 12px;
    background: white;
    padding: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cert-images img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 14px rgba(0,0,0,0.1);
}

.photo {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.photo img.main-photo {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 20px;
}

.photo img.main-photo:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.photo .caption {
    margin-top: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.photo .caption::before,
.photo .caption::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #ccc;
    max-width: 40px;
}

.photo .sub-caption {
    font-size: 0.9rem;
    color: #5c6470;
    text-align: center;
    margin-top: 4px;
}

.photo .ribbon {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #e6f0ff;
    color: #2f89ff;
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.8rem;
}

/* Doctor Bio Responsive Design */
@media(max-width: 900px) {
    .doctor-bio-hero {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* Ensure proper mobile order for photo-left layout */
    .doctor-bio-hero.photo-left {
        grid-template-columns: 1fr;
    }
    
    /* Force proper stacking order on mobile for photo-left */
    .doctor-bio-hero.photo-left .doctor-photo-section {
        order: 2;
    }
    
    .doctor-bio-hero.photo-left .doctor-content {
        order: 1;
    }
    
    .doctor-title {
        font-size: 2rem;
    }
}

@media(max-width: 768px) {
    .doctor-bio-hero {
        gap: 25px;
    }
    
    .doctor-title {
        font-size: 1.8rem;
    }
    
    .stats {
        justify-content: center;
    }
    
    .cert-images {
        gap: 15px;
    }
    
    .cert-images img {
        height: 50px;
    }
}

@media(max-width: 480px) {
    .doctor-title {
        font-size: 1.5rem;
    }
    
    .chip {
        font-size: 0.75rem;
        padding: 4px 10px;
    }
    
    .stats {
        gap: 8px;
    }
    
    .stat {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
    
    .cert-images {
        gap: 10px;
    }
    
    .cert-images img {
        height: 40px;
        padding: 8px;
    }
}

/* Quote Section Widget Styles */
.quote-section {
    background: linear-gradient(135deg, #2f89ff 0%, #2370d8 100%);
    color: white;
    padding: 40px 10px;
    text-align: center;
    font-style: italic;
    font-size: 1.3rem;
    margin: 0 auto;
    border-radius: 0;
    max-width: 1200px;
    position: relative;
    overflow: hidden;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out;
    transition: all 0.3s ease;
}

/* Content wrapper to constrain text width */
.quote-content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Full width container styles */
.gire-widget-container.full-width {
    max-width: none;
    padding: 0;
    margin: 0;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.gire-widget-container.full-width .quote-section {
    border-radius: 0;
    max-width: none;
    width: 100%;
    padding: 40px 0; /* Remove horizontal padding when full width */
}

.quote-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.quote-section .quote-text {
    position: relative;
    z-index: 2;
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
    font-style: italic;
    font-size: 1.3rem;
}

.quote-section .quote-author {
    font-size: 1rem;
    margin-top: 20px;
    opacity: 0.9;
    font-style: normal;
    font-weight: 500;
    position: relative;
    z-index: 2;
}

/* Responsive design for quote section */
@media (max-width: 768px) {
    .quote-section {
        padding: 30px;
        font-size: 1.1rem;
    }
    
    .quote-section .quote-text {
        font-size: 1.1rem;
    }
    
    .quote-section .quote-author {
        font-size: 0.9rem;
        margin-top: 15px;
    }
}

@media (max-width: 480px) {
    .quote-section {
        padding: 25px 20px;
        font-size: 1rem;
    }
    
    .quote-section .quote-text {
        font-size: 1rem;
    }
}

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

/* Hover effect */
.quote-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* Card with Check Lists Widget Styles */
.cards-container {
    display: grid;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.cards-container.columns-1 { grid-template-columns: 1fr; }
.cards-container.columns-2 { grid-template-columns: repeat(2, 1fr); }
.cards-container.columns-3 { grid-template-columns: repeat(3, 1fr); }

/* Single card layout - make it take full width but constrain maximum width */
.cards-container.single-card-layout {
    max-width: 100%;
}

.cards-container.single-card-layout .info-card {
    max-width: none;
    width: 100%;
}

.info-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
    animation: fadeInUp 1s ease-out;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
    border-color: #2f89ff;
}

.info-card h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-card .icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(45deg, #2f89ff, #2370d8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    flex-shrink: 0;
}

.info-card .icon i {
    font-size: 14px;
}

.info-card .icon svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.info-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.info-card ul li {
    padding: 10px 30px !important;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding-left: 30px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.info-card ul li:last-child {
    border-bottom: none;
}

.info-card ul li:before {
    content: '✓';
    position: absolute;
    left: 8px;
    top: 10px;
    color: #2f89ff;
    font-weight: bold;
}

.info-card ul li:hover {
    padding-left: 35px;
    background-color: #f8fafe;
}

/* Responsive design for cards */
@media (max-width: 1024px) {
    .cards-container.columns-tablet-1 { grid-template-columns: 1fr !important; }
    .cards-container.columns-tablet-2 { grid-template-columns: repeat(2, 1fr) !important; }
    .cards-container.columns-tablet-3 { grid-template-columns: repeat(3, 1fr) !important; }
}

@media (max-width: 768px) {
    .cards-container.columns-tablet-1 { grid-template-columns: 1fr !important; }
    .cards-container.columns-tablet-2 { grid-template-columns: 1fr !important; }
    .cards-container.columns-tablet-3 { grid-template-columns: repeat(2, 1fr) !important; }
    
    .info-card {
        padding: 25px;
    }
    
    .info-card h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .cards-container.columns-mobile-1 { grid-template-columns: 1fr !important; }
    .cards-container.columns-mobile-2 { grid-template-columns: 1fr !important; }
    .cards-container.columns-mobile-3 { grid-template-columns: 1fr !important; }
    
    /* Force all cards to stack on mobile regardless of desktop/tablet settings */
    .cards-container { 
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    
    .info-card {
        padding: 20px;
    }
    
    .info-card h3 {
        font-size: 1.2rem;
    }
    
    .info-card ul li {
        padding: 8px 25px !important;
        font-size: 0.95rem;
    }
}

/* What Sets Us Apart Widget Styles */
.gire-features-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.section-title .underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #2f89ff, #2370d8);
    margin-bottom: 15px;
    border-radius: 2px;
}

/* Underline positioning based on text alignment */
.section-title[style*="text-align: center"] .underline,
.section-title:not([style*="text-align"]) .underline {
    margin-left: auto;
    margin-right: auto;
}

.section-title[style*="text-align: left"] .underline {
    margin-left: 0;
    margin-right: auto;
}

/* Default center alignment fallback */
.section-title:not([style*="text-align"]) {
    text-align: center;
}

.section-description {
    font-size: 16px;
    color: #666;
    line-height: 1.7;
    width: 800px;
    max-width: 800px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.features-grid {
    display: grid;
    gap: 30px;
}

.features-grid.columns-1 { grid-template-columns: 1fr; }
.features-grid.columns-2 { grid-template-columns: repeat(2, 1fr); }
.features-grid.columns-3 { grid-template-columns: repeat(3, 1fr); }
.features-grid.columns-4 { grid-template-columns: repeat(4, 1fr); }

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(47, 137, 255, 0.1);
    animation: fadeInUp 1s ease-out;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(47, 137, 255, 0.1), transparent);
    transition: left 0.5s;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(47, 137, 255, 0.2);
    border-color: rgba(47, 137, 255, 0.3);
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 35px rgba(47, 137, 255, 0.4);
}

.feature-card:hover h3 {
    color: #2f89ff;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #2f89ff 0%, #2370d8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 10px 25px rgba(47, 137, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
}

.feature-icon::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2f89ff, #2370d8, #2f89ff);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover .feature-icon::after {
    opacity: 1;
    animation: rotate 2s linear infinite;
}

.feature-icon i {
    font-size: 28px;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.feature-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
    transition: color 0.3s ease;
}

.feature-card:hover p {
    color: #555;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Responsive design for features */
@media (max-width: 1024px) {
    .features-grid.columns-tablet-1 { grid-template-columns: 1fr !important; }
    .features-grid.columns-tablet-2 { grid-template-columns: repeat(2, 1fr) !important; }
    .features-grid.columns-tablet-3 { grid-template-columns: repeat(3, 1fr) !important; }
    .features-grid.columns-tablet-4 { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 768px) {
    .features-grid.columns-tablet-1 { grid-template-columns: 1fr !important; }
    .features-grid.columns-tablet-2 { grid-template-columns: 1fr !important; }
    .features-grid.columns-tablet-3 { grid-template-columns: repeat(2, 1fr) !important; }
    .features-grid.columns-tablet-4 { grid-template-columns: 1fr !important; }
    
    .feature-card {
        padding: 25px;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .section-description {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }
    
    .feature-icon i {
        font-size: 24px;
    }
    
    .feature-icon svg {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    .features-grid.columns-mobile-1 { grid-template-columns: 1fr !important; }
    .features-grid.columns-mobile-2 { grid-template-columns: 1fr !important; }
    .features-grid.columns-mobile-3 { grid-template-columns: 1fr !important; }
    .features-grid.columns-mobile-4 { grid-template-columns: 1fr !important; }
    
    /* Force all cards to stack on mobile regardless of desktop/tablet settings */
    .features-grid { 
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    
    .feature-card {
        padding: 20px;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .section-description {
        font-size: 0.95rem;
        margin-bottom: 10px;
        padding: 0 10px;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }
    
    .feature-icon i {
        font-size: 20px;
    }
    
    .feature-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .feature-card h3 {
        font-size: 1.2rem;
    }
    
    .feature-card p {
        font-size: 0.9rem;
    }
}

/* Descriptive Section Widget Styles */
.descriptive-section-hero {
    display: grid;
    gap: 40px;
    align-items: center;
    margin: 0 auto;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

/* Global mobile overflow prevention */
.descriptive-section-hero * {
    box-sizing: border-box;
    max-width: 100%;
}

.descriptive-section-hero.image-right {
    grid-template-columns: 1fr 1fr;
}

.descriptive-section-hero.image-left {
    grid-template-columns: 1fr 1fr;
}

.descriptive-section-hero.text-only {
    grid-template-columns: 1fr;
}

.section-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

/* Force full width for text-only layout */
.descriptive-section-hero.text-only .section-content {
    max-width: none;
    width: 100%;
}

.section-content .chip {
    display: inline-block;
    padding: 8px 16px;
    background: #e6f0ff;
    color: #4a90e2;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    width: fit-content;
}

.section-content .section-title {
    font-size: 32px;
    font-weight: 600;
    color: #222;
    margin: 0;
    line-height: 1.2;
    text-align: left;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.section-content .section-title .highlight {
    color: #0168B0;
}

.section-content .section-description {
    font-size: 16px;
    line-height: 1.7;
    color: #5c6470;
    margin: 0;
    text-align: left;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    width: auto;
}

.section-description-wrapper .read-more-btn {
    background: none;
    border: none;
    color: #4a90e2;
    cursor: pointer;
    font-weight: 500;
    padding: 0;
    text-decoration: none !important;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 8px;
}

.section-description-wrapper .read-more-btn:hover {
    color: #2370d8;
    text-decoration: none !important;
}

/* Descriptive Section Read More Fade Overlay */
.section-description-wrapper {
    position: relative;
}

.section-description-truncated {
    position: relative;
    padding-bottom: 35px; /* Space for the read more button */
}

.section-description-wrapper .section-description-truncated::after {
    content: "";
    position: absolute;
    bottom: 30px; /* Position above the read more button */
    left: 0;
    right: 0;
    height: 25px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), white);
    pointer-events: none;
    z-index: 1;
}

.section-description-wrapper .read-more-btn {
    position: relative;
    z-index: 2;
}

.button-wrapper {
    margin-top: 10px;
}

.button-wrapper.align-left {
    text-align: left;
}

.button-wrapper.align-center {
    text-align: center;
}

.button-wrapper.align-right {
    text-align: right;
}

.button-wrapper .btn-primary {
    display: inline-block;
    padding: 12px 24px;
    background: #4a90e2;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.button-wrapper .btn-primary:hover {
    background: #3a7bc8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);
}

.section-image-section {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.section-image-section .image-container {
    position: relative;
    text-align: center;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.section-image-section .main-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    object-fit: cover;
    display: block;
    box-sizing: border-box;
}

.section-image-section .main-image:hover {
    transform: translateY(-5px);
}

.section-image-section .caption {
    margin-top: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.section-image-section .sub-caption {
    margin-top: 5px;
    font-size: 0.9rem;
    color: #666;
}

/* Responsive design for descriptive section */
@media (max-width: 1024px) {
    .descriptive-section-hero.image-right,
    .descriptive-section-hero.image-left {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }
    
    .section-content .section-title {
        font-size: 2.2rem;
    }
    
    .descriptive-section-hero {
        max-width: 100%;
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .descriptive-section-hero {
        gap: 25px;
        padding: 0 15px;
        max-width: 100%;
        width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }
    
    .descriptive-section-hero.image-right,
    .descriptive-section-hero.image-left,
    .descriptive-section-hero.text-only {
        grid-template-columns: 1fr !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .section-content {
        gap: 15px;
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden;
        box-sizing: border-box;
    }
    
    .section-content .section-title {
        font-size: 2rem;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        max-width: 100% !important;
    }
    
    .section-content .section-description {
        font-size: 1rem;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        max-width: 100% !important;
    }
    
    .section-content .chip {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .section-image-section {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box;
    }
    
    .section-image-section .image-container {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }
    
    .section-image-section .main-image {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        object-fit: cover !important;
        display: block !important;
    }
}

@media (max-width: 480px) {
    .descriptive-section-hero {
        gap: 20px;
        padding: 0 10px;
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box;
    }
    
    .section-content {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box;
    }
    
    .section-content .section-title {
        font-size: 1.8rem;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        max-width: 100% !important;
        white-space: normal !important;
    }
    
    .section-content .section-description {
        font-size: 0.95rem;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        max-width: 100% !important;
        white-space: normal !important;
    }
    
    .button-wrapper .btn-primary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .section-image-section {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }
    
    .section-image-section .image-container {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }
    
    .section-image-section .main-image {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        border-radius: 10px;
    }
}

/* CF7 Typeform Widget Styles */
.typeform-container {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    /* Transparent fallback - allows for "no color" setting */
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    margin: 0 -20px;
}

.typeform-container .form-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 1440px;
    min-height: 120px;
    position: relative;
    overflow: visible;
}

.typeform-container .progress-bar {
    height: 4px;
    background: #f0f0f0;
    position: relative;
}

.typeform-container .progress {
    height: 100%;
    /* Neutral fallback for "no color" setting */
    background-color: #cbd5e0;
    width: 0%;
    transition: width 0.3s ease;
}

.typeform-container .form-step {
    padding: 40px 50px;
    min-height: 200px;
    display: none;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    animation: slideIn 0.5s ease-out;
    gap: 40px;
}

.typeform-container .form-step.active {
    display: flex;
}

.typeform-container .form-content {
    flex: 1;
    min-width: 0;
}

.typeform-container .form-actions {
    flex-shrink: 0;
    min-width: 200px;
}

.typeform-container .form-step.slide-out {
    animation: slideOut 0.3s ease-in;
}

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

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

.typeform-container .step-number {
    color: #667eea;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.typeform-container .step-title {
    font-size: 24px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 10px;
    line-height: 1.2;
}

.typeform-container .step-description {
    color: #718096;
    font-size: 14px;
    margin-bottom: 25px;
    line-height: 1.5;
}

.typeform-container .form-field {
    position: relative;
    margin-bottom: 20px;
}

.typeform-container .form-input,
.typeform-container .form-textarea,
.typeform-container .form-select {
    width: 100%;
    padding: 15px 0;
    font-size: 16px;
    border: none;
    border-radius:0;
    border-bottom: 2px solid #e2e8f0;
    background: transparent;
    outline: none;
    transition: border-color 0.3s ease;
    color: #2d3748;
    font-family: inherit;
}

.typeform-container .form-input:focus,
.typeform-container .form-textarea:focus,
.typeform-container .form-select:focus {
    border-bottom-color: #2f89ff;
}

.typeform-container .form-input::placeholder,
.typeform-container .form-textarea::placeholder {
    color: #a0aec0;
}

.typeform-container .form-textarea {
    resize: vertical;
    min-height: 80px;
}

.typeform-container .form-select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

/* Custom Location Dropdown */
.typeform-container .custom-location-dropdown {
    position: relative;
    width: 100%;
}

.typeform-container .location-dropdown-selected {
    width: 100%;
    padding: 15px 40px 15px 0;
    font-size: 16px;
    border: none;
    border-bottom: 2px solid #e2e8f0;
    background: transparent;
    cursor: pointer;
    color: #2d3748;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: border-color 0.3s ease;
}

.typeform-container .location-dropdown-selected:focus {
    outline: none;
    border-bottom-color: #2f89ff;
}

.typeform-container .location-dropdown-selected .selected-text {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.typeform-container .location-dropdown-selected .dropdown-arrow {
    transition: transform 0.3s ease;
}

.typeform-container .location-dropdown-selected.open .dropdown-arrow {
    transform: rotate(180deg);
}

.typeform-container .location-dropdown-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    max-height: 200px;
    overflow-y: auto;
    margin-top: 4px;
    display: none;
}

/* Ensure dropdown stays within form container */
.typeform-container .form-step {
    overflow: visible;
}

.typeform-container .form-content {
    overflow: visible;
}

.typeform-container .form-field {
    overflow: visible;
}

.typeform-container .location-dropdown-options.show {
    display: block;
}

.typeform-container .location-option {
    padding: 12px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.2s ease;
    font-size: 16px;
    color: #2d3748;
}

.typeform-container .location-option:hover {
    background-color: #f7fafc;
}

.typeform-container .location-option.selected {
    background-color: #edf2f7;
    font-weight: 500;
}

.typeform-container .location-flag {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    background: linear-gradient(135deg, #2f89ff 0%, #2370d8 100%);
    color: white;
    font-weight: bold;
    float:left;
    padding:15px;
    margin: 0 10px 0 0;
}

.typeform-container .location-flag.chino-hills {
    background: linear-gradient(135deg, #2f89ff 0%, #1e70d1 100%);
}

.typeform-container .location-flag.la-habra {
    background: linear-gradient(135deg, #4fa8ff 0%, #2370d8 100%);
}

.typeform-container .button-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 0;
}

.typeform-container .btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: inherit;
}

.typeform-container .btn-primary {
    /* Neutral fallback for "no color" setting */
    background-color: #4a5568;
    color: white;
    width: 100%;
}

.typeform-container .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(47, 137, 255, 0.3);
}

.typeform-container .btn-secondary {
    background: #e2e8f0;
    color: #718096;
    padding: 12px 20px;
    width: 100%;
}

.typeform-container .btn-secondary:hover {
    background: #cbd5e0;
}

.typeform-container .success-step {
    text-align: center;
    padding: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
	width: 100%;
}

.typeform-container .success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #48bb78, #38a169);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    animation: bounce 0.6s ease-out;
}

.typeform-container .success-icon::after {
    content: "✓";
    color: white;
    font-size: 40px;
    font-weight: bold;
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0,0,0);
    }
    40%, 43% {
        transform: translate3d(0, -20px, 0);
    }
    70% {
        transform: translate3d(0, -10px, 0);
    }
    90% {
        transform: translate3d(0, -4px, 0);
    }
}

/* CF7 Form Integration Styles */
.typeform-container .wpcf7 {
    width: 100%;
}

.typeform-container .wpcf7-form {
    display: none;
}

.typeform-container .wpcf7-form-control-wrap {
    position: relative;
    width: 100%;
}

.typeform-container .wpcf7-form-control {
    width: 100%;
    padding: 20px 0;
    font-size: 18px;
    border: none;
    border-bottom: 3px solid #e2e8f0;
    background: transparent;
    outline: none;
    transition: border-color 0.3s ease;
    color: #2d3748;
    font-family: inherit;
}

.typeform-container .wpcf7-form-control:focus {
    border-bottom-color: #667eea;
}

.typeform-container .wpcf7-textarea {
    resize: vertical;
    min-height: 100px;
}

.typeform-container .wpcf7-select {
    cursor: pointer;
}

.typeform-container .wpcf7-checkbox,
.typeform-container .wpcf7-radio {
    margin: 10px 0;
}

.typeform-container .wpcf7-list-item {
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.typeform-container .wpcf7-list-item-label {
    font-size: 16px;
    color: #2d3748;
    cursor: pointer;
}

.typeform-container .wpcf7-submit {
    display: none;
}

.typeform-container .wpcf7-response-output {
    display: none;
}

.typeform-container .wpcf7-validation-errors {
    color: #e53e3e;
    font-size: 14px;
    margin-top: 10px;
    padding: 0;
    border: none;
    background: none;
}

.typeform-container .wpcf7-not-valid-tip {
    color: #e53e3e;
    font-size: 12px;
    margin-top: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .typeform-container {
        padding: 15px;
        margin: 0 -15px;
    }
    
    .typeform-container .form-step {
        padding: 30px 25px;
        min-height: 300px;
        flex-direction: column;
        align-items: stretch;
        gap: 25px;
    }

    .typeform-container .form-actions {
        min-width: auto;
    }

    .typeform-container .button-group {
        flex-direction: row;
        gap: 10px;
    }

    .typeform-container .btn-primary,
    .typeform-container .btn-secondary {
        width: auto;
        flex: 1;
        max-height: 50px;
    }

    .typeform-container .step-title {
        font-size: 22px;
    }

    .typeform-container .form-input,
    .typeform-container .form-textarea,
    .typeform-container .form-select,
    .typeform-container .wpcf7-form-control {
        font-size: 16px;
    }
    
    .typeform-container .form-container {
        margin: 10px;
    }
    
    .typeform-container .success-step {
        padding: 40px 25px;
    }
}

@media (max-width: 480px) {
    .typeform-container {
        padding: 10px;
        margin: 0 -10px;
    }
    
    .typeform-container .form-step {
        padding: 25px 20px;
        min-height: 250px;
        flex-direction: column;
        gap: 20px;
    }

    .typeform-container .step-title {
        font-size: 20px;
    }
    
    .typeform-container .step-description {
        font-size: 13px;
    }
    
    .typeform-container .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .typeform-container .success-step {
        padding: 30px 20px;
    }
}

/* Gire Heading Widget Styles */
.gire-heading-widget {
    position: relative;
    overflow: hidden;
}

.gire-heading-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.gire-heading-background-text {
    position: absolute;
    z-index: 0;
    font-weight: 900;
    font-size: 120px;
    line-height: 1;
    color: rgba(47, 137, 255, 0.1);
    user-select: none;
    pointer-events: none;
    white-space: nowrap;
}

/* Background text positioning */
.gire-heading-background-text.position-top {
    top: 0;
}

.gire-heading-background-text.position-middle {
    top: 50%;
    transform: translateY(-50%);
}

.gire-heading-background-text.position-bottom {
    bottom: 0;
}

.gire-heading-background-text.position-left {
    left: 0;
}

.gire-heading-background-text.position-center {
    left: 50%;
    transform: translateX(-50%);
}

.gire-heading-background-text.position-middle.position-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.gire-heading-background-text.position-right {
    right: 0;
}

.gire-heading-content {
    position: relative;
    z-index: 1;
}

.gire-heading-subtitle {
    font-size: 18px;
    text-transform: uppercase;
    font-style: italic;
    font-weight: 400;
    line-height: 1.4;
    color: #666666;
    margin-bottom: 15px;
    text-align: left;
}

.gire-heading-title {
    font-size: 50px;
    font-weight: 600;
    line-height: 1.2;
    color: #0168B0;
    margin: 0 0 10px 0;
    text-align: left;
}

.gire-heading-description {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    max-width: 500px;
    color: #777777;
    margin: 0;
    text-align: left;
}

/* Responsive styles */
@media (max-width: 768px) {
    .gire-heading-background-text {
        font-size: 80px;
    }
    
    .gire-heading-title {
        font-size: 36px;
    }
    
    .gire-heading-subtitle {
        font-size: 16px;
    }
    
    .gire-heading-description {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .gire-heading-background-text {
        font-size: 60px;
    }
    
    .gire-heading-title {
        font-size: 28px;
    }
    
    .gire-heading-subtitle {
        font-size: 14px;
    }
    
    .gire-heading-description {
        font-size: 13px;
    }
}
