/* Initial style for the container */
.service-detail {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out forwards;
}

/* Apply animations to headings and paragraphs */
.animate-title {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.3s;
}

.animate-text {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.5s;
}

.animate-image {
    opacity: 0;
    transform: scale(0.9);
    animation: scaleIn 1s ease-out forwards;
    animation-delay: 0.5s;
}

.animate-item {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.7s;
}

/* Keyframes for the animation effects */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Base animation */
@keyframes fadeInSlideUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Shared style for both sections */
.cta-section {
    background-color: #f8f9fa;
    padding: 50px 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInSlideUp 1s ease forwards;
}

/* Optional style for the 2nd section to stand out */
.highlight-cta {
    background: linear-gradient(135deg, #004f7c, #007bff);
    color: #fff;
}

/* Heading styles */
.cta-section h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.4;
}

/* Paragraph styles */
.cta-section p {
    font-size: 18px;
    line-height: 1.8;
    font-weight: 500;
}

/* Hover effects */
.cta-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cta-section {
        padding: 30px 20px;
    }

    .cta-section h2 {
        font-size: 24px;
    }

    .cta-section p {
        font-size: 16px;
    }
}


.tripex-slider img {
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.tripex-slider {
     visibility: hidden; 
  min-height: 320px; /* adjust based on your image size */
}


.eperience-widget-area{
  position: relative;
  background-size: cover;
  color:#000000; /* keep text readable */
  z-index: 1;
  border-radius: 10px;
  padding: 15px;
}

/* Overlay for faint effect */
.eperience-widget-area::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5); /* dark overlay for readability */
  z-index: -1;
}

.eperience-widget-area::before {
  background: rgba(255,255,255,0.7); /* light overlay */
}

/* Style for the call to action container */
.cta-title {
    position: relative;
    padding: 30px;
    background: #004f7c; /* Call to action background */
    border-radius: 10px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out forwards;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.cta-title h2 {
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
}

/* Style for the paragraph with contact details */
.cta-info {
    color: white;
    font-size: 25px !important;
    font-weight: 800;
    line-height: 1.6;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.3s forwards;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover effect for interactivity */
.cta-title:hover {
    transform: translateY(-5px); /* Small raise on hover */
    background: #007bff; /* Darker shade for hover */
}

.cta-title:hover .cta-info {
    opacity: 1;
}
