/* Global Styles */
:root {
    --primary-color: #333;
    --secondary-color: #666;
    --accent-blue: #2d9cdb;
    --accent-green: #5cb85c;
    --accent-green-hover: #4cae4c;
    --light-bg: #f9f9f9;
    --white: #ffffff;
    --text-color: #444;
    --border-color: #e5e5e5;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-secondary);
    color: var(--text-color);
    line-height: 1.6;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
}

.btn-primary {
    background-color: var(--accent-green);
    color: var(--white);
    border: 2px solid var(--accent-green);
}

.btn-primary:hover {
    background-color: var(--accent-green-hover);
}

.btn-green {
    background-color: var(--accent-green);
    color: var(--white);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn-green:hover {
    background-color: var(--accent-green-hover);
    transform: translateY(-2px);
}

.btn-green-outline {
    background-color: transparent;
    color: var(--accent-green);
    border: 2px solid var(--accent-green);
    width: 100%;
}

.btn-green-outline:hover {
    background-color: var(--accent-green);
    color: var(--white);
}

.btn-white {
    background-color: var(--white);
    color: var(--text-color);
    border: 1px solid #ddd;
}

.btn-white:hover {
    background-color: #f0f0f0;
}

.btn-blue-block {
    background-color: #5bc0de;
    color: white;
    width: 100%;
    border: none;
    padding: 15px;
    font-size: 1.1rem;
}

.text-center {
    text-align: center;
}

/* Header */
.site-header {
    background-color: #fff;
    box-shadow: none;
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    flex-shrink: 0;
}

.logo img {
    height: 35px;
    width: auto;
}

.main-nav {
    display: none;
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 35px;
    align-items: center;
}

.main-nav li {
    margin: 0;
    position: relative;
}

.main-nav a {
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s ease;
}

.main-nav a:hover {
    color: #00aaff;
}

.main-nav .fas {
    font-size: 10px;
}

.search-icon a {
    font-size: 16px;
    color: #666;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-white-outline {
    background-color: transparent;
    color: #333;
    border: 1px solid #ddd;
    font-size: 13px;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-white-outline:hover {
    background-color: #f8f8f8;
    border-color: #ccc;
}

.header-actions .btn-green {
    background-color: #5cb85c;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background-color 0.2s ease;
}

.header-actions .btn-green:hover {
    background-color: #4cae4c;
}

.mobile-menu-toggle {
    display: block;
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    color: #333;
    border: none;
    background: none;
}

.mobile-menu-toggle:hover {
    color: #00aaff;
}

/* Hero Section */
.hero {
    background: linear-gradient(to bottom, rgba(135, 206, 235, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%), 
                url('img/hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    padding: 80px 0 120px;
    position: relative;
    color: #333;
    text-align: left;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.3) 60%, transparent 100%);
    z-index: 1;
}

.hero .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 500px;
    margin: 0;
    text-align: left;
    padding: 0;
}

.hero-tagline {
    background-color: #00aaff;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 20px;
    font-family: 'Open Sans', sans-serif;
}

.hero h1 {
    font-size: 2.8rem;
    line-height: 1.1;
    margin-bottom: 30px;
    color: #333;
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
}

.hero h1 strong {
    font-weight: 700;
    color: #333;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.hero-buttons .btn {
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    font-family: 'Open Sans', sans-serif;
}

.hero-buttons .btn-white {
    background-color: white;
    color: #333;
    border: 1px solid #ddd;
}

.hero-buttons .btn-white:hover {
    background-color: #f8f8f8;
    border-color: #ccc;
}

.hero-buttons .btn-green {
    background-color: #5cb85c;
    color: white;
    border: none;
}

.hero-buttons .btn-green:hover {
    background-color: #4cae4c;
}

.hero-badges {
    margin-top: 25px;
    display: flex;
    gap: 20px;
    align-items: center;
}

.hero-badge {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.hero-slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.hero-slider-dots .dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-slider-dots .dot.active {
    background-color: #00aaff;
    transform: scale(1.2);
}

.hero-slider-dots .dot:hover {
    background-color: rgba(255,255,255,0.8);
}

.dot {
    width: 10px;
    height: 10px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background-color: #00aaff;
}

/* As Seen On / Partner Logos */
.as-seen-on {
    padding: 40px 0;
    background-color: #fff;
    border-bottom: 1px solid #eee;
    text-align: center;
}

.featured-text {
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Open Sans', sans-serif;
}

.logos-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    opacity: 0.7;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.logos-grid:hover {
    opacity: 0.9;
    filter: grayscale(50%);
}

.partner-logo {
    height: 80px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}

@media (max-width: 767px) {
    .logos-grid {
        gap: 20px;
    }
    
    .partner-logo {
        height: 35px;
        max-width: 100px;
    }
    
    .as-seen-on {
        padding: 30px 0;
    }
}

/* Difference Section */
.difference-section {
    padding: 60px 0;
    background-color: #f4fbfd;
    text-align: center;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    background: #6da852;
    bottom: -5px;
    clip-path: ellipse(45% 40% at 50% 100%);
    content: "";
    height: 10px;
    left: 0;
    position: absolute;
    width: 100%;
}

.section-subtitle {
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
    color: #666;
}

.difference-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    text-align: left;
}

.difference-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.diff-item {
    margin-bottom: 30px;
}

.diff-item h3 {
    font-size: 1.2rem;
}

.text-link {
    color: var(--accent-blue);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Stats Section */
.stats-section {
    padding: 60px 0;
    background-color: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.stat-item h3 {
    font-family: serif; /* Look like the screenshot serif font */
    font-size: 2rem;
    color: #333;
}

.stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #5bc0de; /* Light blue from screenshot */
    font-family: serif;
}

.stat-label {
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
}

/* Testimonial Section */
.testimonial-section {
    background-color: #e8f4f0;
    padding: 60px 0;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-image img {
    width: 480px;
    height: auto;
    object-fit: cover;
        border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    background: transparent;
    padding: 0;
    max-width: 500px;
    text-align: center;
}

.testimonial-content blockquote {
    font-size: 16px;
    font-style: italic;
    margin: 0 0 20px 0;
    color: #555;
    line-height: 1.7;
    padding: 0;
    border: none;
    font-family: 'Open Sans', sans-serif;
}

.testimonial-content blockquote::before {
    content: none;
}

.testimonial-content cite {
    font-size: 14px;
    color: #333;
    font-style: normal;
    font-weight: 600;
    display: block;
    font-family: 'Open Sans', sans-serif;
}

@media (min-width: 768px) {
    .testimonial-card {
        flex-direction: row;
        align-items: center;
        gap: 60px;
    }
    
    .testimonial-content {
        text-align: left;
    }
    
    .testimonial-image img {
        width: 300px;
    }
}

/* How It Works */
.how-it-works {
    padding: 80px 0;
    background-color: #f0f8ff;
}

.how-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.calc-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    text-align: center;
    max-width: 400px;
    margin: 0 auto;
}

.slider {
    width: 100%;
    margin: 20px 0;
    -webkit-appearance: none;
    appearance: none;
    height: 8px;
    background: #d3d3d3;
    outline: none;
    opacity: 0.7;
    transition: opacity .2s;
    border-radius: 5px;
}

.slider:hover {
    opacity: 1;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    background: #5cb85c;
    cursor: pointer;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

.slider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    background: #5cb85c;
    cursor: pointer;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

.slider-value {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

/* Calculators */
.calculators-section {
    padding: 80px 0;
    background-color: #fff;
}

.calculators-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
}

.calc-box {
    background: #f0f8ff; /* Light blue bg */
    padding: 30px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.calc-box h3 {
    font-size: 1.2rem;
}

.calc-box p {
    margin-bottom: 20px;
    font-size: 0.9rem;
}

/* Debt Done Right */
.debt-done-right {
    padding: 80px 0;
    background-color: #f0f7f0;
}

.done-right-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Topics */
.topics-section {
    padding: 80px 0;
    background-color: #fff;
}

.topics-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.topic-item h3 {
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.topic-item a {
    color: var(--accent-blue);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-top: 10px;
    display: inline-block;
}

/* Articles */
.articles-section {
    padding: 80px 0;
    background-color: #fff;
}

.articles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}

.article-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.article-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-content {
    padding: 20px;
}

.article-content h3 {
    font-size: 1rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.article-content p {
    font-size: 0.9rem;
    color: #777;
}

/* Footer */
.site-footer {
    background-color: #fff;
    padding: 60px 0 20px;
    border-top: 1px solid #eee;
    font-size: 0.9rem;
}

.footer-top {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.footer-col h4 {
    font-size: 1rem;
    margin-bottom: 15px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #666;
}

.footer-col ul li a:hover {
    color: var(--accent-green);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.social-icons a {
    width: 30px;
    height: 30px;
    background: #eee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.copyright {
    color: #999;
    font-size: 0.8rem;
}

.slider-dots-blue {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.slider-dots-blue .dot.active {
    background-color: var(--accent-blue);
}

/* Page Header Styles */
.page-header {
    background: linear-gradient(135deg, #2d9cdb 0%, #5cb85c 100%);
    color: white;
    padding: 80px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: white;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Contact Page Styles */
.contact-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info h2,
.contact-form h2 {
    margin-bottom: 20px;
    color: #333;
}

.contact-methods {
    margin: 40px 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--accent-green);
    margin-top: 5px;
}

.contact-item h3 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-item p {
    margin-bottom: 5px;
}

.contact-item span {
    font-size: 0.9rem;
    color: #666;
}

.trust-indicators {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.trust-indicators ul {
    list-style: none;
    padding: 0;
}

.trust-indicators li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.trust-indicators i {
    color: var(--accent-green);
}

/* Contact Form Styles */
.contact-form {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e5e5e5;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-green);
}

.checkbox-group {
    margin: 30px 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.btn-full {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
}

.form-disclaimer {
    margin-top: 15px;
    font-size: 0.8rem;
    color: #666;
    text-align: center;
    line-height: 1.4;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: white;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    padding: 30px;
    background: #f9f9f9;
    border-radius: 8px;
    border-left: 4px solid var(--accent-green);
}

.faq-item h3 {
    margin-bottom: 15px;
    color: #333;
}

/* Legal Content Styles */
.legal-content {
    padding: 60px 0;
    background-color: white;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.content-wrapper h2 {
    margin-top: 40px;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.content-wrapper h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: #444;
}

.content-wrapper ul {
    margin: 15px 0;
    padding-left: 20px;
}

.content-wrapper li {
    margin-bottom: 8px;
    list-style-type: disc;
}

.contact-info {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.legal-disclaimer {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 20px;
    border-radius: 8px;
    margin: 30px 0;
}

.legal-disclaimer h3 {
    color: #856404;
    margin-bottom: 15px;
}

.legal-disclaimer p {
    color: #856404;
    margin-bottom: 10px;
}

/* Active Navigation State */
.main-nav a.active {
    color: var(--accent-green);
    font-weight: 700;
}

/* Responsive Design for Contact and Legal Pages */
@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
    }
    
    .faq-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .page-header {
        padding: 120px 0 80px;
    }
    
    .page-header h1 {
        font-size: 3rem;
    }
}

@media (max-width: 767px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .page-header {
        padding: 60px 0 40px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
}

/* Desktop Media Queries */
@media (min-width: 768px) {
    .site-header {
        padding: 0;
    }
    
    .header-container {
        padding: 15px 20px;
    }
    
    .main-nav {
        display: block;
        position: static;
        box-shadow: none;
        padding: 0;
        border: none;
        background: transparent;
        width: auto;
    }
    
    .main-nav ul {
        display: flex;
        flex-direction: row;
        gap: 35px;
        align-items: center;
    }
    
    .main-nav li {
        margin: 0;
    }
    
    .main-nav a {
        padding: 8px 0;
        border-bottom: none;
        font-size: 14px;
        display: flex;
        align-items: center;
        gap: 5px;
    }
    
    .mobile-menu-toggle {
        display: none;
    }

    .header-actions .btn-white-outline {
        font-size: 13px;
        padding: 8px 16px;
    }
    
    .header-actions .btn-green {
        padding: 10px 16px;
        font-size: 13px;
    }

    .hero {
        text-align: left;
        padding: 100px 0 140px;
        min-height: 600px;
    }
    
    .hero-content {
        max-width: 600px;
        margin-left: 50px;
    }
    
    .hero h1 {
        font-size: 3.2rem;
    }

    .hero-buttons {
        gap: 20px;
    }

    .difference-content {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
    }
    
    .difference-text {
        flex: 1;
        padding-right: 40px;
    }
    
    .difference-image {
        flex: 1;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .testimonial-card {
        flex-direction: row;
        justify-content: center;
        gap: 50px;
    }

    .how-grid {
        flex-direction: row;
        align-items: center;
        gap: 60px;
    }

    .how-text {
        flex: 1;
    }

    .how-calculator {
        flex: 1;
    }

    .calculators-grid {
        grid-template-columns: 1fr 1fr;
    }

    .done-right-grid {
        flex-direction: row;
        align-items: center;
        gap: 60px;
    }

    .done-right-text {
        flex: 1;
    }

    .done-right-image {
        flex: 1;
    }

    .topics-grid {
        grid-template-columns: 1fr 3fr;
        align-items: start;
        gap: 60px;
    }
    
    .topics-header {
        max-width: 300px;
        text-align: left;
    }
    
    .topics-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .articles-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-top {
        flex-direction: row;
        justify-content: space-between;
    }

    .footer-links {
        display: flex;
        gap: 50px;
    }
}

/* Mobile Navigation Styles */
@media (max-width: 767px) {
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        padding: 20px;
        border-top: 1px solid #eee;
        z-index: 999;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
        align-items: stretch;
    }
    
    .main-nav a {
        padding: 15px 0;
        border-bottom: 1px solid #f0f0f0;
        font-size: 16px;
    }
    
    .main-nav a:hover {
        color: #00aaff;
        background-color: #f8f8f8;
    }
    
    .hero {
        text-align: center;
        padding: 60px 0 80px;
        min-height: 400px;
    }
    
    .hero-content {
        margin: 0 auto;
        padding: 0 20px;
        max-width: 100%;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
        justify-content: center;
    }
}

/* Tablet Specific Styles */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero {
        background-attachment: scroll;
        padding: 120px 0 80px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .calculators-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .articles-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Large Desktop */
@media (min-width: 1024px) {
    .calculators-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}

/* Mobile Specific Optimizations */
@media (max-width: 767px) {
     .himob{display:none;}
    .hero {
        background-attachment: scroll;
        padding: 80px 0 60px;
        min-height: 60vh;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .difference-content {
        gap: 30px;
    }
    
    .testimonial-card {
        gap: 30px;
    }
    
    .how-grid {
        gap: 40px;
    }
    
    .done-right-grid {
        gap: 40px;
    }
    
    .topics-grid {
        gap: 40px;
    }
    
    .container {
        padding: 0 20px;
    }
}
