/* Hero Section */
.hero {
    padding: 3.5rem 1.5rem;
    text-align: center;
}

.hero h1 {
    font-size: clamp(1.5rem, 3.5vw, 3rem);
    line-height: 1.25;
    font-weight: 900;
    letter-spacing: 0.05em;
    margin-bottom: clamp(1rem,3vh,1.5rem);
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero .subtitle {
    font-size: clamp(1rem, 2.5vh, 1.5rem);
    font-weight: 600;
    margin-bottom: clamp(1rem,3vh,2rem);
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
    max-width: 68rem;
}

.divider {
    width: 128px;
    height: 4px;
    background: var(--accent);
    margin: 2rem auto;
}

.hero p {
    font-size: 1.25rem;
    max-width: 960px;
    margin: 0 auto;
    line-height: 1.8;
    font-weight: 500;
    max-width: 62rem;
}

/* Services Section */
.section {
    padding: 3.5rem 1.5rem;
}

.section-dark {
    background: linear-gradient(to bottom right,
            #000000,
            var(--primary),
            var(--secondary));
}

.section-title {
    font-size: 2.75rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
}

.section-subtitle {
    font-size: 1.125rem;
    text-align: center;
    max-width: 960px;
    margin: 0 auto 3rem;
}

.grid {
    display: grid;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Cards */
.card {
    background: linear-gradient(to bottom right,
            rgba(30, 41, 59, 0.5),
            rgba(0, 0, 0, 0.5));
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 2rem 1rem;
    text-align: center;
    transition: transform 0.3s;
    border-radius: 0.75rem;
    text-decoration: none;
    color: inherit;
}

.card-1 {
    padding: 1rem;
    text-align: center;
    transition: transform 0.3s;
    border-radius: 0.75rem;
}

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

.card-icon {
    width: 64px;
    height: 64px;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.card-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--white);
}

.card h3 {
    color: var(--accent);
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 3rem;
}

.card p {
    font-size: 1rem;
    line-height: 1.6;
}

.card-1 h3 {
    color: var(--accent);
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.card-1 p {
    font-size: 1rem;
    line-height: 1.6;
}

.card-1-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(to bottom right,
            var(--accent),
            var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    border: 2px solid var(--accent);
    transition: all 0.3s ease;
}

.card-1:hover .card-1-icon {
    border-color: var(--white);
    transform: scale(1.1);
}

.card-1-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--white);
}

/* Feature Box */
.feature-box {
    background: linear-gradient(to right,
            rgba(30, 41, 59, 0.5),
            rgba(0, 0, 0, 0.5));
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
}

.feature-icon {
    flex-shrink: 0;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--accent);
}

.feature-box h3 {
    color: var(--accent);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

/* Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 960px;
    margin: 3rem auto 0;
}

.stat {
    text-align: center;
}

.stat-icon {
    width: 72px;
    height: 72px;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.stat h4 {
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.stat p {
    font-size: 1rem;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(30, 41, 59, 0.5);
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(59, 130, 246, 0.3);
    text-decoration: none;
    color: white;
    font-size: 1.125rem;
    transition: background-color 0.2s ease-in-out;
}

.contact-item svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent);
    transition: transform 0.3s ease-in-out;
}

.contact-item span {
    font-weight: 500;
}

.contact-item:hover {
    background-color: #3b82f633;
    border-color: rgb(59, 130, 246);
    color: rgb(59, 130, 246);
}

.contact-item:hover svg {
    transform: scale(1.15);
    /* slightly increase size */
}

.review-section {
    font-size: 0.875rem;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@media (min-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }

}

@media (max-width: 764px) {

    .section-title {
        font-size: 1.5rem;
    }


    .hero {
        padding: 2rem 1rem;
    }

    .section {
        padding: 3rem 1rem;
    }

    .review-section {
        flex-direction: column;
        justify-content: start;
        align-items: start;
    }

    .contact-item {
        font-size: 1rem;
        padding: 0.75rem 0.75rem;
    }

    .grid {
        gap: 1.5rem;
    }
}

/* Utilities */
.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mt-4 {
    margin: clamp(1rem,4vh,4rem) 0;
}

.mt-8 {
    margin-top: 4rem;
}

/* Tags/Badges */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 3rem;
}

.tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.5);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    border-radius: 0.375rem;
}

/* Mindset Image */
.mindset-image {
    max-width: 768px;
    margin: 0 auto;
}

.mindset-image img {
    width: 100%;
    height: auto;
    filter: brightness(1.1) contrast(1.1);
}

/* Principles Grid */
.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 4rem auto 0;
}

.principle-card {
    background: linear-gradient(to bottom right,
            rgba(30, 41, 59, 0.5),
            rgba(0, 0, 0, 0.5));
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s;
}

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

.principle-card h3 {
    color: var(--accent);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.principle-card p {
    font-size: 1rem;
    line-height: 1.6;
}

.section-div {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    justify-content: center;
    margin-bottom: 3rem;
}

.section-div p {
    margin: 0;
}

/* Blog Carousel Section */
.blog-carousel-section {
    padding: 4rem 1.5rem;
    background: linear-gradient(180deg,
            rgba(15, 23, 42, 0.95) 0%,
            rgba(30, 41, 59, 0.95) 100%);
    position: relative;
    overflow: hidden;
}

.blog-carousel-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent,
            rgba(59, 130, 246, 0.5),
            transparent);
}

.blog-carousel-header {
    text-align: center;
    margin-bottom: 3rem;
}

.blog-carousel-title {
    font-size: 2.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: white;
    margin-bottom: 1rem;
}

.blog-carousel-title-underline {
    width: 120px;
    height: 4px;
    background: var(--accent);
    margin: 0 auto 1.5rem;
}

.blog-carousel-subtitle {
    font-size: 1.125rem;
    color: white;
    max-width: 700px;
    margin: 0 auto;
    letter-spacing: 0.05em;
}

.blog-carousel-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.blog-swiper {
    padding: 2rem 3rem;
}

.blog-slide {
    height: auto;
}

.blog-card-carousel {
    position: relative;
    height: 500px;
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    display: block;
    background: #0f172a;
    /* Add background color to card */
}

.blog-card-carousel:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.blog-card-bg {
    position: absolute;
    inset: 0;
    border-radius: 1rem;
}

.blog-card-bg img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
    backface-visibility: hidden;
}

.blog-card-carousel:hover .blog-card-bg img {
    transform: scale(1.05);
}

.blog-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(15, 23, 42, 0.98) 0%,
            rgba(15, 23, 42, 0.85) 50%,
            rgba(15, 23, 42, 0.6) 100%);
    border-radius: 1rem;
}

.blog-card-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    z-index: 1;
}

.blog-date-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--accent);
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 0.375rem;
    margin-bottom: 1.5rem;
    width: fit-content;
}

.blog-card-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-excerpt {
    font-size: 1rem;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.blog-card-carousel:hover .blog-read-more {
    gap: 1rem;
}

.blog-read-more svg {
    width: 20px;
    height: 20px;
}

/* Swiper Navigation Buttons */
.blog-swiper-button-prev,
.blog-swiper-button-next {
    width: 50px;
    height: 50px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.blog-swiper-button-prev:hover,
.blog-swiper-button-next:hover {
    background: rgba(59, 130, 246, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.blog-swiper-button-prev {
    left: 0;
}

.blog-swiper-button-next {
    right: 0;
}

.blog-swiper-button-prev svg,
.blog-swiper-button-next svg {
    width: 24px;
    height: 24px;
    color: white;
}

.blog-swiper-button-prev.swiper-button-disabled,
.blog-swiper-button-next.swiper-button-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .blog-carousel-title {
        font-size: 2.5rem;
    }

    .blog-card-title {
        font-size: 1.5rem;
    }

    .blog-swiper {
        padding: 2rem 4rem;
    }
}

@media (max-width: 768px) {
    .blog-carousel-section {
        padding: 3rem 1rem;
    }

    .blog-carousel-title {
        font-size: 2rem;
    }

    .blog-carousel-subtitle {
        font-size: 0.875rem;
    }

    .blog-carousel-header {
        margin-bottom: 2rem;
    }

    .blog-card-carousel {
        height: 450px;
    }

    .blog-card-title {
        font-size: 1.25rem;
    }

    .blog-card-excerpt {
        font-size: 0.875rem;
    }

    .blog-swiper {
        padding: 1rem 3.5rem;
    }

    .blog-swiper-button-prev,
    .blog-swiper-button-next {
        width: 40px;
        height: 40px;
    }

    .blog-swiper-button-prev svg,
    .blog-swiper-button-next svg {
        width: 20px;
        height: 20px;
    }
}

.blog-card-carousel {
    text-decoration: none;
    display: block;
}

.blog-card-title {
    text-decoration: none;
}

.blog-card-excerpt {
    text-decoration: none;
}

.hero .mti-4{
    font-size: clamp(1rem, 2.5vh, 1.5rem);
    font-weight: 500;
    }

.hero-p-mobile {
    display: none;
}


@media (max-width: 768px) {
  .hero { 
    padding: 1rem 1rem; /* reduce vertical padding */
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .hero p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .hero-p-mobile {
    display: block;
  }

    .hero-p-desktop {
        display: none;
    }

  .divider {
    margin: 0.2rem auto;
    margin-bottom: 1rem;
  }

  /* Reduce extra tagline spacing */
  .hero .mti-4 {
    font-size: 1rem;
  }
}


.floating-call-btn {
  /* Hidden by default (desktop) */
  display: none;
  
  /* Positioning */
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  
  /* Size */
  width: 56px;
  height: 56px;
  
  /* Visual styling */
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  border: 2px solid rgba(59, 130, 246, 0.4);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4),
              0 2px 4px rgba(0, 0, 0, 0.3);
  
  /* Center the icon */
  align-items: center;
  justify-content: center;
  
  /* Smooth transitions */
  transition: transform 0.2s ease, 
              box-shadow 0.2s ease,
              background 0.2s ease;
  
  /* Remove default link styles */
  text-decoration: none;
  color: white;
  
  /* Prevent text selection */
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.floating-call-btn svg {
  width: 24px;
  height: 24px;
  stroke: white;
  transition: transform 0.2s ease;
}

/* Touch/Press feedback */
.floating-call-btn:active {
  transform: scale(0.92);
  box-shadow: 0 2px 6px rgba(59, 130, 246, 0.3),
              0 1px 2px rgba(0, 0, 0, 0.2);
}

.floating-call-btn:active svg {
  transform: scale(0.95);
}

/* Subtle hover effect for devices that support it */
@media (hover: hover) {
  .floating-call-btn:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.95), var(--accent));
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.5),
                0 3px 6px rgba(0, 0, 0, 0.4);
  }
}

/* Show only on mobile screens (below 768px) */
@media (max-width: 767px) {
  .floating-call-btn {
    display: flex;
  }
}

/* Adjust position for very small screens if needed */
@media (max-width: 360px) {
  .floating-call-btn {
    bottom: 16px;
    right: 16px;
    width: 52px;
    height: 52px;
  }
  
  .floating-call-btn svg {
    width: 22px;
    height: 22px;
  }
}