* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #fefaf5;
    color: #18065c;
    line-height: 1.5;
    scroll-behavior: smooth;
}

h1, h2, h3, .logo a, .nav-links a, .hero-title, .card h3 {
    font-family: 'Playfair Display', serif;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Navigation */
header {
    background: #ffffffea;
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #f0e4d8;
}

.navbar {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    flex-wrap: wrap;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 600;
    color: #990f04;
    text-decoration: none;
    letter-spacing: -0.3px;
}

.logo span {
    font-size: 1rem;
    font-weight: 400;
    color: #990f04;
    display: block;
    line-height: 1.2;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    flex-wrap: wrap;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    font-weight: 500;
    color: #990f04;
    transition: 0.2s;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
}

.nav-links a:hover, .nav-links a.active {
    color:#990f04;
    border-bottom: 2px solid #e2c2a8;
}

/* Footer */
footer {
    background: #2e2a28;
    color: #e7dbd0;
    padding: 2.5rem 0 1.5rem;
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
}

.footer-col h4 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
    color: #f2ddd0;
}

.footer-col p, .footer-col a {
    color: #cfc2b8;
    text-decoration: none;
    line-height: 1.6;
}

.footer-col a:hover {
    color: #990f04;
}

.copyright {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.8rem;
    border-top: 1px solid #4b3f38;
    padding-top: 1.5rem;
}

.hero {
    background: url("../images/main.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding: 4rem 0 5rem;
    border-radius: 0 0 3rem 3rem;
    margin-bottom: 2rem;
}

/* Add subtle pattern overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239b6a4b' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}
.hero-grid {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 600;
    color: #990f04;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-badge {
    display: inline-block;
    background: rgba(180,95,43,0.1);
    color: #990f04;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.hero-amp {
    color: #990f04;
    font-weight: 300;
}

.highlight {
    color: #990f04;
    position: relative;
    display: inline-block;
}

.hero-intro {
    font-size: 1.2rem;
    margin: 1rem 0;
}

.hero-mission {
    background: rgba(184,135,103,0.1);
    padding: 1rem;
    border-radius: 1rem;
    margin: 1rem 0;
    border-left: 4px solid #990f04;
}

.hero-img {
    flex: 0.8;
    text-align: center;
}

.hero-img .img-wrapper {
    position: relative;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 20px 35px -12px rgba(0,0,0,0.15);
}

.hero-img img {
    max-width: 100%;
    border-radius: 2rem;
    transition: transform 0.5s;
}

.hero-img:hover img {
    transform: scale(1.05);
}

.img-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 1rem;
    text-align: center;
}

.img-overlay span {
    color: white;
    font-size: 0.9rem;
}

/* Buttons */
.btn {
    display: inline-block;
    background: #990f04;
    color: white;
    padding: 0.7rem 1.8rem;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 500;
    margin-top: 1.2rem;
    transition: 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #b45f2b, #9b4a1a);
    color: white;
    box-shadow: 0 4px 15px rgba(180,95,43,0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(180,95,43,0.4);
}

.btn-secondary {
    background: transparent;
    border: 2px solid #b45f2b;
    color:#990f04;
}

.btn-secondary:hover {
    background: #b45f2b;
    color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid #b45f2b;
    color: #990f04;
    margin-left: 1rem;
}

.btn-light {
    background: white;
    color: #990f04;
    border: 2px solid white;
}

.btn-light:hover {
    background: transparent;
    color: white;
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn:hover {
    background: #990f04;
    transform: translateY(-2px);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

/* Stats Section */
.stats-section {
    background: white;
    padding: 2rem 0;
    margin: -2rem 0 2rem;
    position: relative;
    z-index: 2;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #990f04;
    font-family: 'Playfair Display', serif;
}

.stat-label {
    color: #031679;
    font-size: 0.9rem;
    margin-top: 0.3rem;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtitle {
    display: inline-block;
    background: rgba(184,135,103,0.1);
    color: #990f04;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 0.8rem;
}

.section-title {
    font-size: 2rem;
    margin: 2.5rem 0 1.5rem;
    text-align: center;
    color: #990f04;
}

.section-description {
    max-width: 700px;
    margin: 1rem auto 0;
    color: #031679;
    text-align: center;
}

/* Cards Grid */
.cards-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.card {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem 1.5rem;
    width: 280px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.05);
    transition: all 0.3s;
    border: 1px solid #f2e2d6;
    text-align: center;
    position: relative;
}

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #fff3ec, #ffeade);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.card i {
    font-size: 2rem;
    color: #990f04;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: #990f04;
}

.card p {
    color: #031679;
    font-size: 0.9rem;
    line-height: 1.6;
}

.card-link {
    display: inline-block;
    margin-top: 1rem;
    color: #990f04;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s;
}

.card-link i {
    font-size: 0.8rem;
    transition: transform 0.3s;
    margin-left: 0.3rem;
}

.card-link:hover {
    color: #990f04;
}

.card-link:hover i {
    transform: translateX(5px);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 30px -10px rgba(0,0,0,0.1);
    border-color: #e4cfbf;
}

/* Topics Page Specific */
.topic-card {
    width: 320px;
    background: #fffcf9;
    border-left: 6px solid #dbb48b;
    text-align: left;
    cursor: pointer;
}

.topic-card .card-icon {
    margin: 0 0 1rem 0;
}

.topic-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* Personalized Banner */
.personalized-banner {
    background: linear-gradient(135deg, #9b6a4b, #990f04);
    border-radius: 2rem;
    padding: 3rem;
    margin: 3rem 0;
    color: white;
    text-align: center;
}

.banner-content i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.personalized-banner h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.personalized-banner p {
    max-width: 800px;
    margin: 0 auto 1.5rem;
    line-height: 1.7;
}

.banner-highlight {
    background: rgba(255,255,255,0.15);
    border-radius: 1rem;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.help-tags {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.tag {
    background: rgba(255,255,255,0.2);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
}

.tag i {
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

/* Journey Preview */
.journey-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 3rem 0;
    background: #fffcf9;
    border-radius: 2rem;
    padding: 2rem;
}

.journey-text h2 {
    color: #990f04;
    margin-bottom: 1rem;
}

.journey-text p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.journey-benefits {
    list-style: none;
    margin: 1.5rem 0;
}

.journey-benefits li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.journey-benefits li i {
    color: #b45f2b;
}

.journey-quote {
    background: linear-gradient(135deg, #fff3ec, #ffeade);
    padding: 2rem;
    border-radius: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.journey-quote i {
    font-size: 2.5rem;
    color: #b88767;
    opacity: 0.5;
    margin-bottom: 1rem;
}

.journey-quote p {
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.journey-quote cite {
    font-style: normal;
    font-weight: 500;
    color: #b45f2b;
}

/* Testimonials Preview */
.testimonials-preview {
    margin: 3rem 0;
}

.testimonials-preview h2 {
    text-align: center;
    color: #990f04;
    margin-bottom: 2rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    border: 1px solid #f0e4d8;
    transition: transform 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-stars {
    color: #f4b942;
    margin-bottom: 1rem;
    font-size: 1rem;
    letter-spacing: 2px;
}

.testimonial-card p {
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #031679;
}

.testimonial-author {
    font-weight: 600;
    color: #b45f2b;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, #fff3ec, #ffeade);
    border-radius: 2rem;
    padding: 3rem;
    margin: 3rem 0 4rem;
    text-align: center;
}

.cta-content h3 {
    font-size: 2rem;
    color: #990f04;
    margin-bottom: 0.5rem;
}

.cta-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.cta-note {
    font-size: 0.9rem;
    color: #031679;
    margin-top: 1rem;
}

/* About Page */
.about-content {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    background: white;
    border-radius: 2rem;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.03);
}

.about-text {
    flex: 2;
}

.about-img {
    flex: 1;
    text-align: center;
}

.about-img img {
    width: 100%;
    border-radius: 2rem;
    max-width: 280px;
}

/* Credentials Section */
.credentials-section {
    margin: 3rem 0;
}

.credentials-section h2 {
    color: #990f04;
    text-align: center;
    margin-bottom: 1rem;
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.credential-card {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    border: 1px solid #f0e4d8;
    transition: transform 0.3s;
}

.credential-card:hover {
    transform: translateY(-5px);
}

.credential-card i {
    font-size: 2rem;
    color: #b88767;
    margin-bottom: 0.8rem;
}

.credential-card h4 {
    color: #990f04;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.credential-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #031679;
}

/* Journey Section */
.journey-section {
    background: #fffcf9;
    border-radius: 2rem;
    padding: 2rem;
    margin: 2rem 0;
}

.journey-section h2 {
    color: #990f04;
    margin-bottom: 1rem;
    text-align: center;
}

.journey-section p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

/* Contact Page */
.contact-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    background: white;
    border-radius: 2rem;
    padding: 2rem;
    margin: 2rem 0;
}

.contact-info, .contact-form {
    flex: 1;
}

.contact-info i {
    width: 32px;
    color: #b45f2b;
}

.contact-details {
    margin: 1.5rem 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.8rem;
    background: #fefaf5;
    border-radius: 1rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: #b88767;
    width: 35px;
}

.contact-item a {
    color: #b45f2b;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Quote Box */
.quote-box {
    background: linear-gradient(135deg, #fff3ec, #ffeade);
    padding: 1.5rem;
    border-radius: 1rem;
    margin: 1rem 0;
    position: relative;
}

.quote-box i:first-child {
    font-size: 2rem;
    color: #b88767;
    opacity: 0.5;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.quote-box p {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Form Elements */
input, textarea, select {
    width: 100%;
    padding: 0.8rem;
    margin: 0.5rem 0 1rem;
    border: 1px solid #eedbcb;
    border-radius: 1rem;
    font-family: inherit;
    background: white;
    transition: border-color 0.3s;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #b88767;
    box-shadow: 0 0 0 3px rgba(184,135,103,0.1);
}

button[type="submit"] {
    background: #b45f2b;
    border: none;
    color: white;
    padding: 0.8rem;
    border-radius: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

button[type="submit"]:hover {
    background: #8e4c24;
}

/* Success Message */
.success-message {
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 1rem;
    margin-top: 1rem;
    text-align: center;
    border: 1px solid #c3e6cb;
}

/* Info Box */
.info-box {
    background: #fcf6f0;
    border-radius: 2rem;
    padding: 2rem;
    margin: 3rem 0;
    text-align: center;
}

/* Topic Pages Styles */
.topic-hero {
    background: linear-gradient(135deg, #9b6a4b, #990f04);
    border-radius: 2rem;
    padding: 3rem 2rem;
    margin: 2rem 0;
    text-align: center;
    color: white;
}

.topic-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.topic-hero p {
    font-size: 1.2rem;
    opacity: 0.95;
}

.topic-detail {
    background: white;
    border-radius: 2rem;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.topic-section {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f0e4d8;
}

.topic-section h2 {
    color: #990f04;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.topic-section h3 {
    color: #9b6a4b;
    margin: 1rem 0 0.5rem;
}

.topic-section p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.benefits-list li i {
    color: #b45f2b;
    font-size: 1.2rem;
}

.patterns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.pattern-item {
    background: #fefaf5;
    padding: 0.8rem;
    border-radius: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.pattern-item i {
    color: #b88767;
    width: 30px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.benefit-card {
    background: #fefaf5;
    padding: 1.5rem;
    border-radius: 1rem;
    text-align: center;
}

.benefit-card i {
    font-size: 2rem;
    color: #b88767;
    margin-bottom: 0.8rem;
}

.benefit-card h4 {
    color: #990f04;
    margin-bottom: 0.5rem;
}

.beliefs-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.belief-card {
    background: linear-gradient(135deg, #fff3ec, #ffeade);
    padding: 1rem;
    border-radius: 0.8rem;
    text-align: center;
}

.belief-card i {
    font-size: 1.5rem;
    color: #b45f2b;
    margin-bottom: 0.5rem;
}

.steps {
    margin: 1.5rem 0;
}

.step {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.8rem;
    background: #fefaf5;
    border-radius: 0.8rem;
}

.step-number {
    width: 40px;
    height: 40px;
    background: #b88767;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.step-text {
    flex: 1;
}

.note-box {
    background: #fff3e6;
    border-left: 4px solid #b45f2b;
    padding: 1rem;
    border-radius: 0.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.note-box i {
    color: #b45f2b;
    font-size: 1.5rem;
}

.cta-section {
    background: linear-gradient(135deg, #fff3ec, #ffeade);
    padding: 2rem;
    border-radius: 1.5rem;
    text-align: center;
    margin-top: 2rem;
}

.cta-section h3 {
    color: #990f04;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
/* Mobile Optimized Hero Section - Add to existing CSS */

/* Hero Section Mobile Fixes */
@media (max-width: 768px) {
    .hero {
        padding: 2rem 0 2.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-grid {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .hero-text {
        order: 1;
        text-align: center;
    }
    
    .hero-img {
        order: 0;
        flex: 1;
        width: 100%;
        margin-bottom: 0;
    }
    
    .hero-text h1 {
        font-size: 1.6rem;
        line-height: 1.3;
        margin-bottom: 0.8rem;
    }
    
    .hero-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.8rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-intro {
        font-size: 1rem;
        margin: 0.8rem 0;
    }
    
    .hero-text p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .hero-mission {
        padding: 0.8rem;
        margin: 0.8rem 0;
        font-size: 0.9rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
        margin-top: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
        display: inline-block;
    }
    
    .hero-img .img-wrapper {
        max-width: 280px;
        margin: 0 auto;
        border-radius: 1.5rem;
    }
    
    .hero-img img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }
    
    .img-overlay span {
        font-size: 0.8rem;
    }
}

/* Extra Small Devices */
@media (max-width: 480px) {
    .hero {
        padding: 1.5rem 0 2rem;
    }
    
    .hero-text h1 {
        font-size: 1.4rem;
    }
    
    .hero-amp {
        display: inline-block;
        margin: 0 0.2rem;
    }
    
    .hero-intro {
        font-size: 0.95rem;
    }
    
    .hero-text p {
        font-size: 0.85rem;
    }
    
    .hero-mission {
        font-size: 0.85rem;
        padding: 0.6rem;
    }
    
    .hero-badge {
        font-size: 0.65rem;
    }
    
    .hero-img .img-wrapper {
        max-width: 240px;
    }
    
    .btn-primary, .btn-secondary {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Landscape Mode Fix */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 1.5rem 0;
    }
    
    .hero-grid {
        flex-direction: row;
        gap: 1rem;
    }
    
    .hero-img .img-wrapper {
        max-width: 200px;
    }
    
    .hero-text h1 {
        font-size: 1.3rem;
    }
}

/* Tablet Devices */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .hero-img .img-wrapper {
        max-width: 350px;
    }
    
    .hero-buttons .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Image Optimization */
.hero-img img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 1.5rem;
}

.img-wrapper {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 20px 35px -12px rgba(0,0,0,0.15);
    background: #f9efe7;
}

/* Stats Section Mobile */
@media (max-width: 768px) {
    .stats-section {
        padding: 1rem 0;
        margin: 0 0 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .stat-item {
        padding: 0.5rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        gap: 0.5rem;
    }
    
    .stat-number {
        font-size: 1.2rem;
    }
    
    .stat-label {
        font-size: 0.65rem;
    }
}

/* Cards Grid Mobile */
@media (max-width: 768px) {
    .cards-grid {
        gap: 1rem;
    }
    
    .card {
        width: 100%;
        max-width: 100%;
        padding: 1.2rem;
    }
    
    .card-icon {
        width: 50px;
        height: 50px;
    }
    
    .card-icon i {
        font-size: 1.5rem;
    }
    
    .card h3 {
        font-size: 1.2rem;
    }
    
    .card p {
        font-size: 0.85rem;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin: 1.5rem 0 1rem;
    }
    
    .section-description {
        font-size: 0.9rem;
        padding: 0 0.5rem;
    }
}

/* Personalized Banner Mobile */
@media (max-width: 768px) {
    .personalized-banner {
        padding: 1.5rem;
        margin: 2rem 0;
    }
    
    .personalized-banner h3 {
        font-size: 1.2rem;
    }
    
    .personalized-banner p {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    
    .banner-highlight {
        padding: 1rem;
        margin: 1rem 0;
    }
    
    .help-tags {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
    
    .tag {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
        width: fit-content;
    }
    
    .btn-light {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Journey Preview Mobile */
@media (max-width: 768px) {
    .journey-preview {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.2rem;
        margin: 2rem 0;
    }
    
    .journey-text h2 {
        font-size: 1.3rem;
    }
    
    .journey-text p {
        font-size: 0.85rem;
    }
    
    .journey-benefits li {
        font-size: 0.85rem;
    }
    
    .journey-quote {
        padding: 1.2rem;
    }
    
    .journey-quote p {
        font-size: 1rem;
    }
    
    .journey-quote i {
        font-size: 1.8rem;
    }
}

/* Testimonials Mobile */
@media (max-width: 768px) {
    .testimonials-preview {
        margin: 2rem 0;
    }
    
    .testimonials-preview h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .testimonial-card {
        padding: 1.2rem;
    }
    
    .testimonial-card p {
        font-size: 0.85rem;
    }
    
    .testimonial-stars {
        font-size: 0.9rem;
    }
}

/* CTA Banner Mobile */
@media (max-width: 768px) {
    .cta-banner {
        padding: 1.5rem;
        margin: 2rem 0;
    }
    
    .cta-content h3 {
        font-size: 1.3rem;
    }
    
    .cta-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .btn-large {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
        width: 100%;
        text-align: center;
    }
    
    .cta-note {
        font-size: 0.75rem;
    }
}

/* Container Padding Fix for Mobile */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
}

/* Fix for very small devices */
@media (max-width: 360px) {
    .hero-text h1 {
        font-size: 1.2rem;
    }
    
    .hero-badge {
        font-size: 0.6rem;
    }
    
    .stat-number {
        font-size: 1rem;
    }
    
    .stat-label {
        font-size: 0.6rem;
    }
    
    .card h3 {
        font-size: 1rem;
    }
    
    .card p {
        font-size: 0.75rem;
    }
}

/* Ensure images don't overflow */
img {
    max-width: 100%;
    height: auto;
}

/* Fix for image aspect ratio */
.hero-img .img-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.hero-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 4/3;
}

@media (max-width: 768px) {
    .hero-img .img-wrapper {
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .hero-img .img-wrapper {
        max-width: 220px;
    }
}
/* Responsive Design */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero {
        padding: 2.5rem 0 3rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .nav-links {
        gap: 1rem;
        justify-content: center;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .contact-wrap {
        flex-direction: column;
    }
    
    .topic-hero h1 {
        font-size: 1.8rem;
    }
    
    .topic-section h2 {
        font-size: 1.5rem;
    }
    
    .patterns-grid, .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .credentials-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-item i {
        margin: 0 auto;
    }
    
    .journey-section {
        padding: 1.5rem;
    }
    
    .quote-box p {
        font-size: 1rem;
    }
    
    .journey-preview {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .personalized-banner {
        padding: 2rem;
    }
    
    .personalized-banner h3 {
        font-size: 1.4rem;
    }
    
    .cta-banner {
        padding: 2rem;
    }
    
    .cta-content h3 {
        font-size: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .help-tags {
        flex-direction: column;
        align-items: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .card {
        width: 100%;
        max-width: 320px;
    }
    
    .topic-card {
        width: 100%;
    }
}