/* ============================================
   Enhanced Styles for #main_div Section
   ============================================ */
/* Animated Background Shapes */
.bg-shape {
    position: absolute;
    opacity: 0.05;
    z-index: 1;
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.bg-shape.shape-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #3884c3, #5ba3e0);
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.bg-shape.shape-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #5ba3e0, #3884c3);
    bottom: 10%;
    right: 10%;
    animation-delay: 5s;
}

.bg-shape.shape-3 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #3884c3, #2d6ba5);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 10s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    25% {
        transform: translateY(-30px) rotate(5deg);
    }

    50% {
        transform: translateY(-50px) rotate(-5deg);
    }

    75% {
        transform: translateY(-20px) rotate(3deg);
    }
}

/* Main Section Styling */
#main_div {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 80vh;
    padding: 120px 0 40px;
}

/* Gradient Title */
.gradient-title {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0;
}

.title-word {
    display: inline-block;
    color: #2c3e50;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.title-word:nth-child(1) {
    animation-delay: 0.1s;
}

.title-word:nth-child(2) {
    animation-delay: 0.3s;
}

.title-word.highlight {
    background: linear-gradient(135deg, #3884c3, #5ba3e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation-delay: 0.5s;
}

.title-word.highlight::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #3884c3, #5ba3e0);
    border-radius: 2px;
    animation: expandWidth 1s ease-out 0.8s forwards;
    transform: scaleX(0);
    transform-origin: left;
}

@keyframes expandWidth {
    to {
        transform: scaleX(1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Subtitle Hero */
.subtitle-hero {
    font-size: 1rem;
    color: #6c757d;
    font-weight: 500;
    letter-spacing: 0.3px;
    animation: fadeIn 1s ease-out 1s forwards;
    opacity: 0;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Feature List Styling */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 8px 10px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(56, 132, 195, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(180deg, #3884c3, #5ba3e0);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 24px rgba(56, 132, 195, 0.15);
}

.feature-item:hover::before {
    transform: scaleY(1);
}

.feature-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: linear-gradient(135deg, #3884c3, #5ba3e0);
    border-radius: 6px;
    margin-right: 8px;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(56, 132, 195, 0.22);
}

.feature-icon-wrapper i {
    color: #ffffff !important;
    font-size: 14px;
}

.feature-item i {
    color: #ffffff !important;
}

.feature-text {
    font-size: 12px;
    font-weight: 600;
    color: #2c3e50;
    letter-spacing: 0.2px;
    line-height: 1.3;
}

/* Contact Cards */
.contact-cards {
    margin-top: 20px;
    flex-direction: row !important;
    gap: 10px;
    flex-wrap: wrap;
}

.contact-card {
    background: linear-gradient(135deg, #ffffff 0%, #f3f8ff 100%);
    border-radius: 999px;
    padding: 8px 14px;
    border: 1px solid rgba(56, 132, 195, 0.2);
    box-shadow: 0 6px 14px rgba(56, 132, 195, 0.08);
    transition: all 0.2s ease;
    position: relative;
}

.contact-card:hover {
    background: #ffffff;
    border-color: rgba(56, 132, 195, 0.45);
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(56, 132, 195, 0.12);
}

.contact-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 8px;
}

.contact-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #eef5ff;
    border-radius: 50%;
    border: 1px solid rgba(56, 132, 195, 0.2);
    flex-shrink: 0;
}

.contact-icon-wrapper img {
    filter: none;
    opacity: 1;
}

.contact-text {
    color: #2a4e6f;
    font-weight: 700;
    font-size: 13.5px;
    letter-spacing: 5px;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.contact-card:hover .contact-text {
    color: #1e4567;
}

/* Modern CTA Button */
.cta-btn-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 22px;
    background: linear-gradient(135deg, #3884c3, #5ba3e0);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 32px;
    box-shadow: 0 5px 16px rgba(56, 132, 195, 0.22);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
}

.cta-btn-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.cta-btn-modern:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 32px rgba(56, 132, 195, 0.4);
    color: #ffffff;
}

.cta-btn-modern:hover::before {
    left: 100%;
}

.cta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.cta-btn-modern:hover .cta-icon {
    transform: rotate(360deg);
    background: rgba(255, 255, 255, 0.3);
}

.cta-icon i {
    font-size: 16px;
}

.cta-text {
    flex: 1;
}

.cta-arrow {
    display: flex;
    align-items: center;
    font-size: 18px;
    transition: transform 0.3s ease;
}

.cta-btn-modern:hover .cta-arrow {
    transform: translateX(8px);
}

/* Responsive Design */
@media (max-width: 992px) {
    .gradient-title {
        font-size: 2.1rem;
    }

    .subtitle-hero {
        font-size: 0.95rem;
    }

    .feature-item {
        padding: 10px 12px;
    }

    .feature-text {
        font-size: 12.5px;
    }

    .cta-btn-modern {
        font-size: 14px;
        padding: 10px 24px;
    }
}

@media (max-width: 768px) {
    .subtitle-hero {
        margin-bottom: 12px !important;
        line-height: 1.35;
    }
    .main_div_list {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .main-contact {
        order: 2;
        margin-top: 6px;
    }

    .main-features {
        order: 3;
    }

    .main-contact .col {
        text-align: center;
    }

    .main-contact .contact-cards {
        justify-content: center;
    }

    #main_div {
        padding: 100px 0 30px;
    }

    .gradient-title {
        font-size: 1.8rem;
    }

    .title-word {
        display: inline;
    }

    .bg-shape {
        opacity: 0.03;
    }

    .bg-shape.shape-1 {
        width: 160px;
        height: 160px;
    }

    .bg-shape.shape-2 {
        width: 200px;
        height: 200px;
    }

    .bg-shape.shape-3 {
        width: 120px;
        height: 120px;
    }

    .contact-card {
        padding: 10px 14px;
    }

    .contact-text {
        font-size: 13px;
    }
}

/* Pulse Animation for Icons */
@keyframes pulseit {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.pulseit {
    animation: pulseit 2s ease-in-out infinite;
}

/* Additional smooth transitions */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}