/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #60a5fa;
    --secondary-color: #64748b;
    --text-color: #1e293b;
    --light-text: #64748b;
    --background-color: #ffffff;
    --section-bg: #f8fafc;
    --border-color: #e2e8f0;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --shadow-lg: rgba(0, 0, 0, 0.15);
    --success-color: #22c55e;
    --error-color: #ef4444;
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    --gradient-light: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

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

/* Header Styles */
.header {
    background-color: var(--background-color);
    box-shadow: 0 2px 10px var(--shadow-color);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Hero Section */
.hero {
    padding: 10rem 0 6rem;
    background: var(--gradient-light);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    position: relative;
    z-index: 1;
    animation: fadeIn 0.8s ease-out;
}

.hero h1 {
    font-size: 3.75rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    letter-spacing: -0.02em;
}

.hero .subtitle {
    font-size: 1.25rem;
    color: var(--secondary-color);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    max-width: 540px;
}

.download-buttons {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #4f46e5 0%, #3b82f6 100%);
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.4);
    background: linear-gradient(135deg, #4338ca 0%, #2563eb 100%);
}

.download-btn.outline {
    background: transparent;
    border: 2px solid #4f46e5;
    color: #4f46e5;
    box-shadow: none;
}

.download-btn.outline:hover {
    background: #4f46e5;
    color: white;
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.4);
}

.download-btn .material-icons {
    font-size: 24px;
    margin-right: 8px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.download-btn:hover .material-icons {
    transform: translateX(3px);
}

/* Hero Image Styles */
.hero-image {
    width: 300px;
    flex-shrink: 0;
    position: relative;
    margin-right: 2rem;
    animation: slideIn 0.8s ease-out, float 3s ease-in-out infinite;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    object-fit: contain;
    aspect-ratio: 3/4;
}

/* Features Section */
.features {
    padding: 8rem 0;
    background-color: var(--section-bg);
}

.features h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.section-subtitle {
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 4rem;
    font-size: 1.125rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr; /* Display one column on smaller screens */
    }
}


.feature-card {
    background-color: var(--background-color);
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 4px 6px var(--shadow-color);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    animation: scaleIn 0.6s ease-out;
    animation-fill-mode: both;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px var(--shadow-lg);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-icon .material-icons {
    font-size: 32px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card:hover .feature-icon::before {
    transform: translateX(100%);
}

.feature-card:hover .feature-icon .material-icons {
    transform: scale(1.2);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.feature-card p {
    color: var(--secondary-color);
    line-height: 1.7;
}



/* Savings Calculator Section */
.savings-calculator {
    padding: 12rem 0 8rem;
    background: linear-gradient(135deg, var(--section-bg) 0%, var(--background-color) 100%);
    margin-top: -6rem;
}

.savings-calculator h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.calculator-container {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--background-color);
    padding: 4rem;
    border-radius: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

.calculator-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 1.125rem;
    color: var(--text-color);
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 1rem;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    background-color: var(--background-color);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.calculate-btn {
    background: var(--gradient-primary);
    color: white;
    padding: 1.25rem 2rem;
    border: none;
    border-radius: 1rem;
    font-weight: 600;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.calculate-btn span {
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.calculator-result {
    background: var(--gradient-light);
    padding: 4rem;
    border-radius: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.calculator-result.visible {
    opacity: 1;
    transform: translateY(0);
}

.result-content h3 {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.savings-amount {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.savings-description {
    color: var(--secondary-color);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.savings-details {
    display: grid;
    gap: 1rem;
    text-align: left;
    background: rgba(255, 255, 255, 0.5);
    padding: 1.5rem;
    border-radius: 1rem;
    margin-top: 2rem;
}

.savings-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.savings-item:last-child {
    border-bottom: none;
}

.savings-item.total {
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 2px solid var(--border-color);
}

.savings-label {
    color: var(--text-color);
}

.savings-value {
    color: var(--primary-color);
    font-weight: 500;
}

/* Footer */
.footer {
    background: var(--text-color);
    padding: 8rem 0 2rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-section h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.footer-section ul li {
    margin-bottom: 1rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 0.5rem 0;
}

.footer-section a:hover {
    color: white;
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--text-color);
    font-size: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: transparent;
}

.social-links .material-icons {
    font-size: 24px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-links a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--primary-gradient);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(0.8);
}

.social-links a:hover {
    color: white;
}

.social-links a:hover::before {
    opacity: 1;
    transform: scale(1);
}

.social-links a:hover .material-icons {
    transform: scale(1.2);
}

.social-links a span {
    position: relative;
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-links a:hover span {
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3.25rem;
    }

    .hero-image {
        width: 250px;
        margin-right: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 1rem;
    }

    .nav-links {
        gap: 1.5rem;
    }

    .hero {
        padding: 8rem 0 4rem;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .hero h1 {
        font-size: 2.75rem;
    }

    .hero .subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-image {
        width: 200px;
        margin-right: 0;
        margin: 0 auto;
    }

    .download-buttons {
        justify-content: center;
    }

    .calculator-container {
        padding: 2rem;
    }

    .calculator-result {
        padding: 2rem;
    }

    .savings-amount {
        font-size: 2.5rem;
    }

    .savings-details {
        padding: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center;
    }

    .footer-section a:hover {
        transform: none;
    }

    .values-grid {
        flex-direction: column;
    }

    .value-card {
        width: 100%;
    }

    .feature-card {
        animation-delay: 0s !important;
    }
    
    .hero-content,
    .hero-image {
        animation-duration: 0.6s;
    }
}

@media (max-width: 480px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero-image {
        width: 180px;
    }

    .hero .subtitle {
        font-size: 1rem;
    }

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

    .feature-card {
        padding: 2rem;
    }

    .calculator-result {
        padding: 2rem;
    }

    .savings-amount {
        font-size: 2.5rem;
    }

    .contact-info,
    .contact-form {
        padding: 2rem;
    }

    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* About Page Styles */
.about-section {
    padding: 12rem 0 8rem;
    background: linear-gradient(135deg, var(--section-bg) 0%, var(--background-color) 100%);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-header {
    text-align: center;
    margin-bottom: 6rem;
}

.about-header h1 {
    font-size: 4rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    line-height: 1.1;
}

.about-header .lead-text {
    font-size: 1.5rem;
    color: var(--secondary-color);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.about-mission {
    margin-bottom: 8rem;
    padding: 5rem;
    background: var(--background-color);
    border-radius: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.1);
}

.about-mission::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-primary);
}

.about-mission h2 {
    font-size: 3rem;
    color: var(--text-color);
    margin-bottom: 2.5rem;
}

.about-mission p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--secondary-color);
    max-width: 800px;
    margin: 0 auto;
}

.about-values {
    text-align: center;
    margin-bottom: 8rem;
}

.about-values h2 {
    font-size: 3rem;
    color: var(--text-color);
    margin-bottom: 4rem;
    position: relative;
}

.values-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 0 auto;
    max-width: 1200px;
    flex-wrap: wrap;
}

.value-card {
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    background: var(--background-color);
    padding: 3rem;
    border-radius: 2rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.value-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.1);
}

.value-card h3 {
    font-size: 1.75rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.value-card p {
    color: var(--secondary-color);
    line-height: 1.8;
    font-size: 1.125rem;
}

@media (max-width: 1024px) {
    .about-header h1 {
        font-size: 3.5rem;
    }

    .about-mission h2,
    .about-values h2 {
        font-size: 2.5rem;
    }

    .about-mission {
        padding: 4rem;
    }

    .value-card {
        min-width: 280px;
        padding: 2.5rem;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 8rem 0 6rem;
    }

    .about-header h1 {
        font-size: 3rem;
    }

    .about-header .lead-text {
        font-size: 1.25rem;
    }

    .about-mission {
        padding: 3rem;
        margin-bottom: 6rem;
    }

    .about-mission h2,
    .about-values h2 {
        font-size: 2.25rem;
    }

    .about-mission p {
        font-size: 1.125rem;
    }

    .values-grid {
        gap: 2rem;
    }

    .value-card {
        min-width: 100%;
        padding: 2rem;
    }

    .value-icon {
        font-size: 3rem;
    }

    .value-card h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .about-header h1 {
        font-size: 2.5rem;
    }

    .about-mission {
        padding: 2rem;
        margin-bottom: 4rem;
    }

    .about-values {
        margin-bottom: 4rem;
    }

    .value-card {
        padding: 2rem;
    }
}

/* Contact Page Styles */
.contact-section {
    padding: 12rem 0 8rem;
    background: linear-gradient(135deg, var(--section-bg) 0%, var(--background-color) 100%);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-header {
    text-align: center;
    margin-bottom: 5rem;
}

.contact-header h1 {
    font-size: 3.5rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.contact-header p {
    font-size: 1.25rem;
    color: var(--secondary-color);
    max-width: 600px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    margin-bottom: 6rem;
}

.contact-info {
    background: var(--background-color);
    padding: 4rem;
    border-radius: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

.contact-info h2 {
    font-size: 2.75rem;
    color: var(--text-color);
    margin-bottom: 3rem;
    line-height: 1.2;
}

.contact-details {
    display: grid;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--section-bg);
    border-radius: 1.5rem;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    font-size: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.contact-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-item:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
}

.contact-item:hover .contact-icon::before {
    transform: translateX(100%);
}

.contact-icon i {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-item:hover .contact-icon i {
    transform: scale(1.2);
}

.contact-text h3 {
    font-size: 1.25rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.contact-text p {
    color: var(--secondary-color);
    line-height: 1.6;
}

.contact-form {
    background: var(--background-color);
    padding: 4rem;
    border-radius: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

.contact-form h2 {
    font-size: 2.75rem;
    color: var(--text-color);
    margin-bottom: 3rem;
    line-height: 1.2;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    font-size: 1.125rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 1rem;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    background-color: var(--background-color);
}

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.submit-btn {
    background: var(--gradient-primary);
    color: white;
    padding: 1.25rem;
    border: none;
    border-radius: 1rem;
    font-weight: 600;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 2rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1024px) {
    .contact-grid {
        gap: 3rem;
    }
    
    .contact-info,
    .contact-form {
        padding: 3rem;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 8rem 0 6rem;
    }

    .contact-header h1 {
        font-size: 2.75rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-info h2,
    .contact-form h2 {
        font-size: 2.25rem;
        margin-bottom: 2rem;
    }

    .contact-item {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .contact-header h1 {
        font-size: 2.25rem;
    }

    .contact-info,
    .contact-form {
        padding: 2rem;
    }

    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.5rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 1rem;
    }
}

/* Blog Page Styles */
.blog-header {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    color: #000000;
    padding: 100px 0;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.blog-header h1 {
    font-size: 4.5rem;
    margin-bottom: 25px;
    font-weight: 800;
    position: relative;
    color: #000000;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.blog-posts {
    padding: 60px 0;
    background: #ffffff;
}

.posts-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 20px;
}

.post-card {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 2rem;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid #e5e7eb;
    position: relative;
}

.post-card .post-image {
    width: 100%;
    height: 400px;
    position: relative;
    overflow: hidden;
    background: #f3f4f6;
}

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

.post-card .post-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
}

.post-card:hover .post-image img {
    transform: scale(1.05);
}

.post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.post-date, .reading-time {
    background: #f3f4f6;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    color: #666;
}

.post-content h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: #000000;
    line-height: 1.3;
}

.post-content p {
    color: #4b5563;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.tag {
    background: #f3f4f6;
    color: #2563eb;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.read-more {
    align-self: flex-start;
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

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

@media (max-width: 768px) {
    .post-card {
        margin: 0 auto 1.5rem;
    }

    .post-card .post-image {
        height: 250px;
    }

    .post-card .post-content {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .post-card .post-image {
        height: 200px;
    }

    .post-card .post-content {
        padding: 1.25rem;
    }
}

/* Blog Post Styles */
.blog-post {
    padding: 8rem 0 4rem;
    background-color: var(--background-color);
    min-height: 100vh;
}

.blog-post-header {
    background: var(--gradient-light);
    padding: 4rem 0;
    margin-bottom: 4rem;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.blog-post-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(29, 78, 216, 0.05) 100%);
    z-index: 0;
}

.blog-post-header .container {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.blog-post-header h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-weight: 800;
}

.blog-post-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.featured-image {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    margin-bottom: 3rem;
    box-shadow: 0 4px 20px var(--shadow-color);
}

.blog-post .content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-color);
}

.blog-post h2 {
    font-size: 2rem;
    line-height: 1.3;
    margin: 3rem 0 1.5rem;
    color: var(--text-color);
    font-weight: 700;
}

.blog-post h3 {
    font-size: 1.5rem;
    line-height: 1.4;
    margin: 2rem 0 1rem;
    color: var(--text-color);
    font-weight: 600;
}

.blog-post p {
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.blog-post ul, .blog-post ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.blog-post li {
    margin-bottom: 0.75rem;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
    font-size: 0.95rem;
}

.post-date, .reading-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary-color);
}

.post-date .material-icons,
.reading-time .material-icons {
    font-size: 1.25rem;
    color: var(--primary-color);
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 2rem 0;
}

.post-tags .tag {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background-color: var(--section-bg);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.post-tags .tag:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.share-section {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.share-section h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.share-buttons {
    display: flex;
    gap: 1rem;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-btn.facebook {
    background-color: #1877f2;
}

.share-btn.twitter {
    background-color: #1da1f2;
}

.share-btn.linkedin {
    background-color: #0077b5;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--shadow-color);
}

@media (max-width: 768px) {
    .blog-post {
        padding: 6rem 0 3rem;
    }

    .blog-post-header {
        padding: 3rem 0;
        margin-bottom: 3rem;
    }

    .blog-post-header h1 {
        font-size: 2.5rem;
    }

    .blog-post-content {
        padding: 0 1.5rem;
    }

    .featured-image {
        margin-bottom: 2rem;
    }

    .blog-post .content {
        font-size: 1.1rem;
    }

    .blog-post h2 {
        font-size: 1.75rem;
        margin: 2.5rem 0 1.25rem;
    }

    .blog-post h3 {
        font-size: 1.35rem;
        margin: 1.75rem 0 1rem;
    }

    .post-meta {
        flex-wrap: wrap;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .post-meta::-webkit-scrollbar {
        display: none;
    }

    .post-date, .reading-time {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .blog-post-header {
        padding: 2.5rem 0;
    }

    .blog-post-header h1 {
        font-size: 2rem;
    }

    .featured-image {
        border-radius: 0.75rem;
    }

    .blog-post .content {
        font-size: 1rem;
    }

    .blog-post h2 {
        font-size: 1.5rem;
    }

    .blog-post h3 {
        font-size: 1.25rem;
    }

    .post-tags {
        gap: 0.5rem;
    }

    .post-tags .tag {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }

    .share-section {
        margin-top: 3rem;
    }

    .share-buttons {
        flex-wrap: wrap;
    }

    .share-btn {
        padding: 0.6rem 1.25rem;
        font-size: 0.9rem;
    }

    .post-meta {
        margin-bottom: 1.25rem;
    }

    .post-date, .reading-time {
        font-size: 0.85rem;
    }
}

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

.post-card {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.post-card:nth-child(1) { animation-delay: 0.1s; }
.post-card:nth-child(2) { animation-delay: 0.2s; }
.post-card:nth-child(3) { animation-delay: 0.3s; }
.post-card:nth-child(4) { animation-delay: 0.4s; }

/* Loading State */
.post-card.loading {
    position: relative;
    overflow: hidden;
}

.post-card.loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    animation: loading 1.5s infinite;
}

@keyframes loading {
    from {
        left: -100%;
    }
    to {
        left: 100%;
    }
}

/* Print Styles */
@media print {
    .blog-header {
        background: none;
        color: #000;
        padding: 40px 0;
    }

    .post-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .post-image {
        display: none;
    }
}

/* Animation Keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        transform: translateX(-20px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.95);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Smooth transitions for interactive elements */
.feature-card,
.download-btn,
.nav-links a,
.social-links a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px var(--shadow-lg);
}

.feature-icon {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.download-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px var(--shadow-lg);
}

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

/* Responsive animations */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

.feature-icon span {
    font-size: 2rem;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-links span {
    font-size: 1.5rem;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mobile Navigation */
/* Hamburger Icon Styling */
.hamburger {
    display: none; /* Hidden by default on desktop */
    cursor: pointer;
  }
  
  /* Style each line of the hamburger icon */
  .hamburger .line {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color); /* Use your primary color or another color */
    margin: 4px 0;
  }
  
  /* Show hamburger icon and hide nav-links on mobile screens */
  @media (max-width: 768px) {
    .nav-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      /* Optional: adjust padding if needed */
      padding: 1rem 1.5rem;
    }
  
    /* Ensure the logo remains on the left */
    .logo {
      margin: 0;
      font-size: 1.75rem;
    }
  
    /* The hamburger icon is already set to display on mobile */
    .hamburger {
      display: block;
    }
  
    /* Hide nav-links by default on mobile */
    .nav-links {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 60px; /* Adjust based on header height */
      right: 0;
      width: 100%;
      background: rgba(255, 255, 255, 0.95);
      padding: 1rem 2rem;
      z-index: 999;
    }
  
    .nav-links.active {
      display: flex;
    }
  }
  
/* Newsletter Modal Styles */
.newsletter-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.newsletter-content {
    background: var(--background-color);
    padding: 2.5rem;
    border-radius: 1.5rem;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: scaleIn 0.3s ease-out;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--secondary-color);
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
    transition: color 0.3s ease;
    z-index: 1;
}

.close-modal:hover {
    color: var(--text-color);
}

.newsletter-content h2 {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    text-align: center;
    line-height: 1.2;
}

.newsletter-content p {
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 1.1rem;
}

.newsletter-content .form-group {
    margin-bottom: 1.5rem;
}

.newsletter-content input {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.newsletter-content input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.newsletter-content .submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-content .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(37, 99, 235, 0.2);
}

/* Mobile Responsive Styles */
@media (max-width: 480px) {
    .newsletter-modal {
        padding: 0.5rem;
    }

    .newsletter-content {
        padding: 2rem 1.5rem;
        width: 100%;
        margin: 0.5rem;
    }

    .newsletter-content h2 {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }

    .newsletter-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .newsletter-content input {
        padding: 0.875rem;
        font-size: 0.95rem;
    }

    .newsletter-content .submit-btn {
        padding: 0.875rem;
        font-size: 0.95rem;
    }

    .close-modal {
        top: 0.75rem;
        right: 0.75rem;
        font-size: 1.75rem;
    }
}

/* Small Mobile Devices */
@media (max-width: 360px) {
    .newsletter-content {
        padding: 1.75rem 1.25rem;
    }

    .newsletter-content h2 {
        font-size: 1.5rem;
    }

    .newsletter-content p {
        font-size: 0.95rem;
    }

    .newsletter-content input,
    .newsletter-content .submit-btn {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
}

.platform-display {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--background-color);
    border: 2px solid var(--border-color);
    border-radius: 0.75rem;
    font-weight: 500;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.platform-display.ios {
    border-color: #4f46e5;
    color: #4f46e5;
}

.platform-display.android {
    border-color: #4f46e5;
    color: #4f46e5;
}

.platform-display::before {
    font-size: 1.25rem;
}

/* Blog Pagination Styles */
.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
    padding: 1rem 0;
}

.pagination-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary-color);
    border-radius: 0.5rem;
    background-color: white;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-btn:hover:not(:disabled) {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    border-color: #ccc;
    color: #666;
}

.page-numbers {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.page-number {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.page-number:hover:not(.active) {
    background-color: #f3f4f6;
}

.page-number.active {
    background-color: var(--primary-color);
    color: white;
}

@media (max-width: 768px) {
    .blog-pagination {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .pagination-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .page-number {
        width: 2rem;
        height: 2rem;
        font-size: 0.9rem;
    }
}

/* Add smooth scrolling buttons */
.scroll-buttons {
    display: none;
}

@media (max-width: 768px) {
    .post-card {
        flex-direction: column;
    }
    
    .post-card .post-image {
        flex: 0 0 200px;
        min-height: 200px;
    }
}

  