/* ============================================
   GOODSPOUSE CUSTOM STYLES
   All custom styles for the website
   ============================================ */

/* ============================================
   BLOG LIST PAGE
   ============================================ */

/* Modern Blog List Styles */
.blog-list-section {
    padding: 150px 0 80px 0; /* Extra top padding to clear fixed header */
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    min-height: 100vh;
}

.blog-list-header {
    text-align: center;
    margin-bottom: 60px;
}

.blog-list-header h1 {
    font-size: 48px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    background: linear-gradient(45deg, #EF066C, #FF6B9D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-list-header p {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin: 0;
    padding: 0;
}

.blog-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.05);
    animation: fadeInUp 0.6s ease forwards;
}

.blog-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(239, 6, 108, 0.15);
    border-color: rgba(239, 6, 108, 0.2);
}

.blog-card-image {
    position: relative;
    overflow: hidden;
    height: 250px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.1);
}

.blog-card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.2) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blog-card:hover .blog-card-image::after {
    opacity: 1;
}

.blog-card-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s ease;
}

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

.blog-card:hover .blog-card-title {
    color: #EF066C;
}

.blog-card-excerpt {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.blog-card-date {
    font-size: 14px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-card-date i {
    color: #EF066C;
}

.blog-card-read-more {
    color: #EF066C;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.blog-card-read-more i {
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-read-more i {
    transform: translateX(5px);
}

/* Pagination Styling */
.blog-pagination {
    margin-top: 60px;
    display: flex;
    justify-content: center;
}

.blog-pagination .pagination {
    gap: 10px;
}

.blog-pagination .page-link {
    border-radius: 8px;
    border: 2px solid #f0f0f0;
    color: #666;
    font-weight: 600;
    padding: 10px 18px;
    transition: all 0.3s ease;
}

.blog-pagination .page-link:hover {
    background: #EF066C;
    color: white;
    border-color: #EF066C;
}

.blog-pagination .page-item.active .page-link {
    background: linear-gradient(45deg, #EF066C, #FF6B9D);
    border-color: #EF066C;
    color: white;
}

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

.blog-card:nth-child(1) { animation-delay: 0.1s; }
.blog-card:nth-child(2) { animation-delay: 0.2s; }
.blog-card:nth-child(3) { animation-delay: 0.3s; }
.blog-card:nth-child(4) { animation-delay: 0.4s; }
.blog-card:nth-child(5) { animation-delay: 0.5s; }
.blog-card:nth-child(6) { animation-delay: 0.6s; }

/* ============================================
   PAGES (Privacy, Terms, etc.)
   ============================================ */

.page-content-section {
    padding: 150px 0 80px 0; /* Extra top padding to clear fixed header */
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    min-height: 100vh;
}

.page-content-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
}

.page-content-header h1 {
    font-size: 44px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    background: linear-gradient(45deg, #EF066C, #FF6B9D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-content-body {
    background: white;
    border-radius: 16px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
}

.page-content-body h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-top: 40px;
    margin-bottom: 20px;
}

.page-content-body h3 {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-content-body p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.page-content-body ul,
.page-content-body ol {
    margin: 20px 0;
    padding-left: 30px;
}

.page-content-body li {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 10px;
}

.page-content-body a {
    color: #EF066C;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.page-content-body a:hover {
    color: #FF6B9D;
    text-decoration: underline;
}

.page-content-body strong {
    color: #1a1a1a;
    font-weight: 700;
}

.page-content-body code {
    background: #f5f5f5;
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #EF066C;
}

/* ============================================
   HOME PAGE - CONTACT FORM
   ============================================ */

.contact-us-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f7fc 0%, #fef2f6 100%);
}

.contact-us-section .section-heading {
    margin-bottom: 10px;
}

.contact-us-section .contact-subtitle {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 35px;
    max-width: 700px;
    color: #666;
}

.contact-form-wrapper {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.modern-contact-form .form-group-modern {
    position: relative;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #fafafa;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #EF066C;
    background: white;
    box-shadow: 0 0 0 3px rgba(239, 6, 108, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.recaptcha-wrapper {
    display: flex;
    justify-content: center;
}

.btn-submit-modern {
    background: linear-gradient(45deg, #EF066C 0%, #FFA7CD 100%);
    color: white;
    border: none;
    padding: 14px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(239, 6, 108, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-submit-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(239, 6, 108, 0.4);
}

.btn-submit-modern .btn-icon {
    transition: transform 0.3s ease;
}

.btn-submit-modern:hover .btn-icon {
    transform: translateX(5px);
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
}

.contact-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(239, 6, 108, 0.12);
}

.contact-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #EF066C, #FF6B9D);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.contact-card-icon i {
    font-size: 28px;
    color: white;
}

.contact-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.contact-card-text {
    font-size: 15px;
    color: #666;
    margin: 0;
}

.contact-card a {
    color: #EF066C;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: #FF6B9D;
}

/* ============================================
   HOME PAGE - TRUST INDICATORS
   ============================================ */

.trust-indicators {
    background: linear-gradient(45deg, #EF066C 0%, #FFA7CD 100%);
    padding: 60px 0;
    margin-top: -5rem;
}

.trust-stat__number {
    font-size: 48px;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
}

.trust-stat__label {
    font-size: 18px;
    color: #ffd4e3;
    font-weight: 600;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    align-items: center;
}

.trust-badges .badge-item {
    background: rgba(255,255,255,0.2);
    padding: 15px 30px;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.trust-badges .badge-item:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-3px);
}

.trust-badges .badge-item i {
    font-size: 24px;
}

/* ============================================
   HOME PAGE - IMPROVED FEATURES
   ============================================ */

/* Icon images - fill the circle properly */
.icon img,
.feature__box .icon img,
.growth__box .icon img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block;
}

.feature__box .icon,
.growth__box .icon {
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Fallback Font Awesome icons when images are missing */
.icon i.fas,
.feature__box .icon i.fas,
.growth__box .icon i.fas {
    font-size: 80px;
    color: white;
}

/* ============================================
   HOME PAGE - BLOG SECTION
   ============================================ */

.blog-header {
    text-align: center;
    margin-bottom: 60px;
}

.blog-card-home {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card-home:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(239, 6, 108, 0.2);
}

.blog-card-home img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card-home:hover img {
    transform: scale(1.1);
}

.blog-card-content-home {
    padding: 25px;
    flex: 1;
}

.blog-card-content-home h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-card-content-home h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card-home:hover h3 a {
    color: #EF066C;
}

.blog-card-content-home p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.blog-read-more {
    color: #EF066C;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.blog-read-more:hover {
    gap: 12px;
}

/* ============================================
   HOME PAGE - VIDEO SECTION
   ============================================ */

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 20px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1200px) {
    .blog-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    /* Blog List Page */
    .blog-list-section {
        padding: 120px 0 60px 0; /* Extra top padding for mobile header */
    }
    
    .blog-list-header h1 {
        font-size: 36px;
    }
    
    .blog-list-header p {
        font-size: 16px;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .blog-card-image {
        height: 220px;
    }
    
    .blog-card-content {
        padding: 20px;
    }
    
    .blog-card-title {
        font-size: 18px;
    }
    
    /* Page Content */
    .page-content-section {
        padding: 120px 0 60px 0; /* Extra top padding for mobile header */
    }
    
    .page-content-header h1 {
        font-size: 32px;
    }
    
    .page-content-body {
        padding: 30px 20px;
    }
    
    .page-content-body h2 {
        font-size: 24px;
    }
    
    .page-content-body h3 {
        font-size: 20px;
    }
    
    /* Contact Form */
    .contact-us-section {
        padding: 60px 0;
    }
    
    .contact-us-section .contact-subtitle {
        font-size: 16px;
        margin-bottom: 35px;
    }
    
    .contact-form-wrapper {
        padding: 25px 20px;
    }
    
    .contact-info-cards {
        flex-direction: column;
        margin-top: 30px;
    }
    
    /* Trust Indicators */
    .trust-stat__number {
        font-size: 32px;
    }
    
    .trust-stat__label {
        font-size: 14px;
    }
    
    .trust-badges .badge-item {
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* ============================================
   UTILITIES
   ============================================ */

.button--wide {
    width: auto;
    min-width: 271px;
    padding: 0 30px;
}

/* Smooth transitions for all interactive elements */
button,
a,
.button,
.blog-card,
.contact-card {
    -webkit-tap-highlight-color: transparent;
}

/* Improve button accessibility */
button:focus,
a:focus,
.button:focus {
    outline: 2px solid #EF066C;
    outline-offset: 4px;
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* ============================================
   HOME PAGE - ADDITIONAL STYLES
   ============================================ */

/* Questions/FAQ image styling */
.questions-img img {
    z-index: 10;
    position: relative;
    filter: drop-shadow(0px 20px 10px rgba(75, 80, 84, 0.2));
    -webkit-filter: drop-shadow(0px 20px 10px rgba(75, 80, 84, 0.2));
    -webkit-transform: var(--transform-fix);
    transform: var(--transform-fix);
    max-width: 300px;
    width: auto;
}

/* Section spacing */
section {
    margin-bottom: 5px;
    position: relative;
}

.questions__wrapper,
.screenshot__wrapper,
.hero__wrapper {
    padding-bottom: 40px;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Button improvements */
.button--wide {
    width: 50rem;
    max-width: 100%;
}

.button {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.button:hover::before {
    width: 300px;
    height: 300px;
}

.button span {
    position: relative;
    z-index: 1;
}

/* Video preview styles */
.video-preview-img {
    width: 100%;
    max-width: 900px;
    height: auto;
    border-radius: 25px;
    border: 2px solid pink;
    object-fit: cover;
}

.video__background {
    margin: auto;
}

.video-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Home page blog cards */
.home-blog-card {
    background: #fff;
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.home-blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(239, 6, 108, 0.15);
}

.home-blog-card__image {
    width: 100%;
    height: 270px;
    object-fit: cover;
}

.home-blog-card__content {
    padding: 16px;
    color: #000;
    height: calc(100% - 270px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.home-blog-card__title {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
    color: #000;
    text-decoration: none;
    display: block;
}

.home-blog-card__title:hover {
    color: #EF066C;
}

.home-blog-card__excerpt {
    font-size: 16px;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #666b6d;
}

.home-blog-card__read-more {
    color: #ef066c;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
}

.home-blog-card__date {
    font-size: 15px;
    color: #999;
    margin-top: 15px;
}

/* Blog section on home */
.blog-section-row {
    padding: 60px 0;
}

.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.btn-see-all {
    font-size: 16px;
    font-weight: 600;
    color: #EF066C;
    text-decoration: none;
    padding: 12px 30px;
    border: 2px solid #EF066C;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-see-all:hover {
    background: #EF066C;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(239, 6, 108, 0.3);
}

/* Enhanced UI animations */
.feature__box {
    transition: all 0.4s ease;
}

.feature__box:hover {
    transform: translateY(-10px);
}

.feature__box .icon {
    transition: all 0.4s ease;
}

.feature__box:hover .icon {
    transform: scale(1.1) rotate(5deg);
}

.growth__box {
    transition: all 0.3s ease;
}

.growth__box:hover {
    transform: translateX(5px);
}

.growth__box .icon {
    transition: all 0.3s ease;
}

.growth__box:hover .icon {
    transform: scale(1.15);
}

/* Download buttons enhanced */
.download-buttons a {
    transition: all 0.3s ease;
}

.download-buttons a:hover {
    transform: translateY(-5px) scale(1.05);
}

/* Newsletter section */
.newsletter {
    padding: 60px 0;
}

.newsletter__info {
    margin-bottom: 20px;
}

.input-field {
    padding: 12px;
    font-size: 16px;
}

.btn-primary {
    background-color: #007bff;
    color: #fff;
    padding: 10px 20px;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
}

.btn-primary i {
    margin-left: 8px;
}

.newsletter__img img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Hero section images */
.hero .hero-img .hero-image {
    max-width: 100%;
    height: auto;
}

/* Contact card icon variations */
.contact-card-icon.icon-blue {
    background: linear-gradient(45deg, #2986CC 0%, #65bef4 100%);
    box-shadow: 0 8px 20px rgba(41, 134, 204, 0.3);
}

.contact-card-icon.icon-green {
    background: linear-gradient(45deg, #19a5a1 0%, #63e8e4 100%);
    box-shadow: 0 8px 20px rgba(25, 165, 161, 0.3);
}

.contact-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin-bottom: 8px;
}

.contact-card p {
    font-size: 15px;
    color: #666b6d;
    margin: 0;
}

/* ============================================
   RESPONSIVE - ADDITIONAL
   ============================================ */

@media (min-width: 768px) {
    .hero .hero-img .hero-image {
        max-width: 80%;
    }
}

@media (min-width: 992px) {
    .hero .hero-img .hero-image {
        max-width: 60%;
    }
}

@media (max-width: 991px) {
    .contact-form-wrapper {
        padding: 30px;
        margin-bottom: 40px;
    }
    
    .contact-info-cards {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .contact-card {
        flex: 1;
        min-width: 200px;
    }
}

@media (max-width: 768px) {
    section {
        margin-bottom: 40px;
    }
    
    .blog-header {
        flex-direction: column;
        text-align: center;
    }
    
    .blog-header .section-heading {
        font-size: 32px;
        width: 100%;
    }
    
    .home-blog-card {
        height: auto;
    }
    
    .home-blog-card__content {
        height: auto;
        min-height: 200px;
    }
    
    .btn-submit-modern {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    .contact-form-wrapper,
    .contact-info-cards,
    .trust-indicators,
    .blog-card-read-more {
        display: none;
    }
    
    .blog-card,
    .page-content-body {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

