/* Pricing Cards */
.seo-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.seo-card.popular {
    border-color: #6366f1;
    transform: scale(1.05);
    z-index: 2;
    box-shadow: 0 20px 25px -5px rgba(99, 102, 241, 0.1), 0 10px 10px -5px rgba(99, 102, 241, 0.04);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #6366f1;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.seo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.seo-icon {
    width: 70px;
    height: 70px;
    background: #f5f3ff;
    border-radius: 12px; /* Smoother squircle-like feel */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    color: #6366f1;
    transition: 0.3s ease;
}

.seo-card:hover .seo-icon {
    background: #6366f1;
    color: #fff;
    transform: rotate(5deg);
}

.card-features {
    list-style: none;
    padding: 0;
    margin: 25px 0 35px;
    text-align: left;
    flex-grow: 1;
}

.card-features li {
    padding: 8px 0;
    font-size: 14px;
    color: #555;
    display: flex;
    align-items: flex-start;
}

.card-features li i {
    color: #25D366;
    margin-right: 10px;
    margin-top: 3px;
}

.seo-btn {
    padding: 12px 25px;
    background: #25D366;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: 0.3s;
    width: 100%;
}

.seo-btn:hover {
    background: #128C7E;
    color: #fff;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

@media (max-width: 991px) {
    .seo-card.popular {
        transform: none;
    }
}

/* --- Header & Top Bar Redesign --- */

/* Top Bar - Professional Metadata */
.top-bar {
    background: #0f172a; /* Midnight Slate */
    padding: 10px 0;
    font-size: 13px;
    font-weight: 500;
    color: #cbd5e1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-bar a {
    transition: 0.3s;
    text-decoration: none;
}

.top-bar a:hover {
    color: #6366f1 !important;
}

.top-bar .social-links a {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-size: 12px;
}

.top-bar .social-links a:hover {
    background: #6366f1;
    transform: translateY(-2px);
}

/* Main Header - Clean & Separated */
.header {
    background: #ffffff !important;
    height: 70px; /* Precise height */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.4s ease;
    border-bottom: 1px solid #f1f5f9;
}

.header.sticky-top-active {
    height: 60px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.header .logo h1 {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -1px;
    margin: 0;
}

/* Navigation - High Visibility */
@media (min-width: 1200px) {
    .navmenu > ul > li {
        padding: 0 18px !important;
    }

    .navmenu a {
        font-size: 15px !important;
        font-weight: 700 !important;
        color: #475569 !important;
        padding: 10px 0 !important;
        text-transform: capitalize;
        transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .navmenu a:hover, .navmenu .active {
        color: #6366f1 !important;
    }

    /* Modern Hover Effect */
    .navmenu a::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background: #6366f1;
        transition: 0.3s ease;
    }

    .navmenu a:hover::before, .navmenu .active::before {
        width: 100%;
    }
}

/* Get A Quote Button */
.btn-get-quote {
    background: #6366f1;
    color: #fff;
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
    box-shadow: 0 8px 15px rgba(99, 102, 241, 0.2);
}

.btn-get-quote:hover {
    background: #4f46e5;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 20px rgba(99, 102, 241, 0.3);
}

/* Mobile Navigation */
.mobile-nav-toggle {
    color: #0f172a;
    font-size: 28px;
    cursor: pointer;
    line-height: 0;
    transition: 0.5s;
    z-index: 9999;
    margin-right: 10px;
}

@media (max-width: 1199px) {
    .header .logo h1 {
        font-size: 22px;
    }
}

/* Hero Enhancements */
.hero .btn-get-started {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%) !important;
    border: none !important;
    padding: 0 45px !important;
    height: 54px !important; /* Explicit height */
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    text-transform: none !important;
    color: #fff !important;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3), 0 0 20px rgba(99, 102, 241, 0.1) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.hero .btn-get-started:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.4), 0 0 30px rgba(99, 102, 241, 0.2) !important;
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%) !important;
}

.hero .btn-outline-light {
    padding: 0 45px !important;
    height: 54px !important; /* Identical explicit height */
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 2px solid rgba(255, 255, 255, 0.8) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    background: transparent !important;
    color: #fff !important;
    backdrop-filter: blur(4px);
    transition: all 0.4s ease !important;
}

.hero .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: #ffffff !important;
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Premium Section Title */
.section-title h2 {
    font-size: 40px;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #0f172a 0%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* About Section Premium */
.text-justify {
    text-align: justify;
}

.about .img-fluid {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.about .content h2 {
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 800;
}

.about .content h5 {
    color: #0f172a;
    font-size: 18px;
}

.about .content ul li {
    font-size: 15px;
    color: #475569;
}

/* Skill Cards / Modern Expertise */
.skill-card {
    background: #ffffff;
    padding: 35px 25px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    height: 100%;
    border: 1px solid #f1f5f9;
    text-align: center;
}

.skill-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    border-color: #6366f1;
}

.skill-card .icon {
    width: 60px;
    height: 60px;
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 20px;
    transition: 0.3s;
}

.skill-card:hover .icon {
    background: #6366f1;
    color: #ffffff;
}

/* Service Item Premium */
.service-item {
    padding: 40px !important;
    border-radius: 20px !important;
    background: #fff !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
    transition: 0.4s !important;
    border: 1px solid #f1f5f9 !important;
}

.service-item:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.1) !important;
}

.service-item h3 {
    font-size: 22px !important;
    margin-bottom: 15px !important;
}

/* --- Portfolio & Contact Redesign --- */

/* Portfolio Styles */
.portfolio .portfolio-filters {
    padding: 0;
    margin: 0 auto 40px auto;
    list-style: none;
    text-align: center;
}

.portfolio .portfolio-filters li {
    cursor: pointer;
    display: inline-block;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    color: #475569;
    margin: 0 5px 10px 5px;
    transition: all 0.3s ease-in-out;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
    color: #fff;
    background-color: #6366f1;
    border-color: #6366f1;
}

.portfolio .portfolio-content {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.portfolio .portfolio-content img {
    transition: 0.5s ease;
    width: 100%;
}

.portfolio .portfolio-content .portfolio-info {
    opacity: 0;
    position: absolute;
    inset: 0;
    z-index: 3;
    transition: all ease-in-out 0.4s;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 30px;
    color: #fff;
}

.portfolio .portfolio-content .portfolio-info h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
}

.portfolio .portfolio-content .portfolio-info p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
}

.portfolio .portfolio-content .portfolio-info .preview-link {
    width: 40px;
    height: 40px;
    background: #6366f1;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 20px;
    transition: 0.3s;
}

.portfolio .portfolio-content:hover img {
    transform: scale(1.1);
}

.portfolio .portfolio-content:hover .portfolio-info {
    opacity: 1;
}

/* Contact Styles */
.contact .info-wrap {
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
}

.contact .info-item {
    margin-bottom: 30px;
}

.contact .info-item i {
    font-size: 24px;
    color: #6366f1;
    background: rgba(99, 102, 241, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    margin-right: 15px;
    transition: 0.3s;
}

.contact .info-item:hover i {
    background: #6366f1;
    color: #fff;
}

.contact .php-email-form {
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
}

.contact .php-email-form .form-control {
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    font-size: 15px;
    background: #f8fafc;
}

.contact .php-email-form .form-control:focus {
    border-color: #6366f1;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.contact .php-email-form button[type="submit"] {
    background: #6366f1;
    color: #fff;
    padding: 12px 40px;
    border-radius: 50px;
    font-weight: 700;
    border: none;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.contact .php-email-form button[type="submit"]:hover {
    background: #4f46e5;
    transform: translateY(-2px);
}

.custom-checkbox .form-check-input:checked {
    background-color: #6366f1;
    border-color: #6366f1;
}

.custom-checkbox .form-check-label {
    cursor: pointer;
    transition: 0.3s;
}

.custom-checkbox .form-check-label:hover {
    color: #6366f1 !important;
}
