/* Base Styles */
:root {
    --primary-color: #4a6bff;
    --secondary-color: #6c757d;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

html {
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #fff;
    overflow-x: hidden;
    width: 100%;
}

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

a {
    text-decoration: none;
    color: var(--dark-color);
}

ul {
    list-style: none;
}

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

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn:hover {
    background-color: #3a5ae8;
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

/* Header */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    left: 0;
    right: 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    height: 70px;
}

.logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

.logo img {
    max-height: 70px;
    width: auto;
    transition: all 0.3s ease;
    margin-bottom: 0;
}

.logo img:hover {
    transform: scale(1.05);
}

.logo-tagline {
    font-size: 1.1rem;
    color: var(--secondary-color);
    font-style: italic;
    letter-spacing: 0.8px;
    font-weight: 500;
    white-space: nowrap;
}

nav ul {
    display: flex;
    gap: 20px;
}

nav ul li {
    margin: 0;
}

nav ul li a {
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 8px 12px;
    border-radius: 5px;
}

nav ul li a:hover {
    color: var(--primary-color);
    background-color: rgba(74, 107, 255, 0.1);
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark-color);
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    padding: 80px 0 60px;
    background: linear-gradient(rgba(71, 72, 95, 0.7), rgba(10, 10, 14, 0.7)), url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 60vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff;
}

/* Responsive background for large screens */
@media (min-width: 1400px) {
    .hero {
        background-size: 100% auto;
        background-position: center top;
    }
}

@media (min-width: 1920px) {
    .hero {
        background-size: cover;
        background-position: center center;
    }
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content h2 {
    font-size: 2.3rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1rem;
    margin-bottom: 15px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Add styles for the calculator button and make it stand out */
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.btn-calculator {
    background-color: #fff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-calculator:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: var(--light-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.service-card {
    background-color: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: transform 0.3s ease;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* Portfolio Section */
.portfolio {
    padding: 100px 0;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background: none;
    border: none;
    padding: 8px 20px;
    margin: 0 5px 10px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 30px;
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.portfolio-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    height: 220px;
    min-height: 220px;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    color: #fff;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

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

.portfolio-overlay h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.portfolio-overlay p {
    margin-bottom: 15px;
}

.portfolio-link {
    color: #fff;
    border: 2px solid #fff;
    padding: 8px 20px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.portfolio-link:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Portfolio Section - Design Items Specific Styling */
.portfolio-item.design {
    background-color: white;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: auto;
    cursor: pointer;
    text-align: center;
}

.portfolio-item.design img {
    object-fit: contain;
    max-height: 180px;
    width: auto;
    margin: 0 auto 15px;
    display: block;
}

.portfolio-item.design .portfolio-overlay {
    opacity: 0;
    background: rgba(0, 0, 0, 0.7);
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.portfolio-item.design:hover .portfolio-overlay {
    opacity: 1;
}

/* Modal for enlarged images */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

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

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: var(--light-color);
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.contact-info h3 {
    margin-bottom: 20px;
    font-size: 1.8rem;
}

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

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 15px;
}

.contact-form {
    background-color: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: #fff;
    padding: 70px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.footer-logo {
    margin-bottom: 15px;
}

.footer-logo img {
    max-height: 50px;
    width: auto;
    margin-bottom: 15px;
    filter: brightness(0) invert(1); /* Makes the logo white */
}

.footer-links h4,
.footer-social h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

.footer-links ul li a {
    color: #ddd;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
}

.social-icons {
    display: flex;
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
    color: #fff;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

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

/* Tablet responsive styles */
@media (max-width: 1024px) {
    .container {
        padding: 0 25px;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .contact-container {
        gap: 35px;
    }
    
    .resources-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    /* Ensure proper mobile scaling */
    html {
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
    }
    
    body {
        font-size: 16px;
        line-height: 1.5;
    }
    
    .container {
        padding: 0 15px;
        width: 100%;
    }
    
    .hero-content h2 {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 8px 20px;
        height: 60px;
    }
    
    .logo {
        gap: 10px;
    }
    
    .logo-tagline {
        font-size: 1rem;
    }
    
    /* Hide tagline on mobile to save space */
    .logo-tagline {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #fff;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        padding: 20px;
    }
    
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
        gap: 10px;
        margin: 0;
    }
    
    nav ul li {
        margin: 0;
    }
    
    nav ul li a {
        display: block;
        padding: 12px 0;
        text-align: center;
        border-radius: 5px;
    }
    
    .hero {
        padding: 70px 0 40px;
        min-height: 50vh;
        background-attachment: scroll;
        background-size: cover;
        background-position: center center;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    /* Services section mobile improvements */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 20px;
        min-height: auto;
    }
    
    .service-card i {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
    
    /* Portfolio section mobile improvements */
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .portfolio-item {
        height: 200px;
        min-height: 200px;
    }
    
    .portfolio-filters {
        gap: 8px;
    }
    
    .filter-btn {
        padding: 6px 16px;
        font-size: 0.9rem;
        margin: 0 3px 8px;
    }
    
    /* Contact section mobile improvements */
    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Resources section mobile improvements */
    .resources-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .resource-card {
        padding: 20px;
        min-height: auto;
    }
    
    .resource-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    .resource-icon i {
        font-size: 1.8rem;
    }
    
    .resource-card h3 {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
    
    /* Footer mobile improvements */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }
    
    .footer-links ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .footer-links ul li {
        margin-bottom: 0;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    /* Ensure all sections are properly responsive */
    .services, .portfolio, .resources, .contact {
        width: 100%;
        overflow-x: hidden;
    }
    
    /* Fix any potential horizontal overflow */
    .services-grid, .portfolio-grid, .resources-grid {
        width: 100%;
        overflow-x: hidden;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 12px;
        width: 100%;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .logo {
        flex-direction: column;
        gap: 5px;
        align-items: flex-start;
    }
    
    .logo-tagline {
        font-size: 0.9rem;
        display: none;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .portfolio-filters {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        margin-bottom: 10px;
    }
    
    .hero {
        padding: 70px 0 30px;
        min-height: 45vh;
        background-attachment: scroll;
        background-size: cover;
        background-position: center center;
    }
    
    .hero-content h2 {
        font-size: 1.6rem;
        line-height: 1.3;
    }
    
    .hero-content p {
        font-size: 0.95rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .services, .portfolio, .resources, .contact {
        padding: 60px 0;
    }
    
    .it-support-banner {
        padding: 30px 0;
    }
    
    .support {
        padding: 30px 0;
    }
    
    /* Additional small mobile improvements */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .service-card {
        padding: 18px;
    }
    
    .service-card i {
        font-size: 2.2rem;
        margin-bottom: 12px;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .portfolio-item {
        height: 180px;
        min-height: 180px;
    }
    
    .portfolio-filters {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }
    
    .filter-btn {
        padding: 8px 20px;
        font-size: 0.9rem;
        margin: 0 0 5px;
        width: auto;
        min-width: 120px;
    }
    
    .contact-form {
        padding: 18px;
    }
    
    .form-group {
        margin-bottom: 18px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px;
        font-size: 16px;
    }
    
    .resources-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .resource-card {
        padding: 18px;
    }
    
    .resource-icon {
        width: 55px;
        height: 55px;
        margin-bottom: 12px;
    }
    
    .resource-icon i {
        font-size: 1.6rem;
    }
    
    .resource-card h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .footer-content {
        gap: 20px;
    }
    
    .footer-links ul {
        flex-direction: column;
        gap: 10px;
    }
    
    .social-icons {
        gap: 8px;
    }
    
    .social-icons a {
        width: 35px;
        height: 35px;
        margin-right: 8px;
    }
    
    /* IT Support Banner mobile improvements */
    .it-support-banner {
        padding: 25px 0;
    }
    
    .banner-content h3 {
        font-size: 1.6rem;
        margin-bottom: 12px;
    }
    
    .banner-content p {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    .support-content {
        padding: 30px 20px;
    }
    
    .support h3 {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }
    
    .support p {
        font-size: 1rem;
    }
    
    /* Additional mobile fixes for small screens */
    .services, .portfolio, .resources, .contact {
        width: 100%;
        overflow-x: hidden;
    }
    
    .services-grid, .portfolio-grid, .resources-grid {
        width: 100%;
        overflow-x: hidden;
    }
    
    /* Ensure text doesn't overflow */
    .hero-content, .service-card, .resource-card {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

/* Resources Section */
.resources {
    padding: 100px 0;
    background-color: #fff;
}

.resources-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
    color: var(--secondary-color);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.resource-card {
    background-color: var(--light-color);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
    text-align: center;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.resource-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(74, 107, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
}

.resource-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.resource-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.resource-card p {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.resource-link {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 500;
    transition: all 0.3s ease;
}

.resource-link i {
    margin-left: 5px;
    font-size: 0.9rem;
}

.resource-link:hover {
    color: #3a5ae8;
    text-decoration: underline;
}

/* Update responsive styles for resources section */
@media (max-width: 768px) {
    .resources-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 576px) {
    .resource-card {
        padding: 20px;
    }
}

/* Support Section */
.support {
    background-color: var(--primary-color);
    color: white;
    padding: 40px 0;
    text-align: center;
}

.support-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 50px 30px;
}

.support-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.support h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.support p {
    font-size: 1.1rem;
    margin-bottom: 0;
}

.support a {
    color: white;
    font-weight: 600;
    text-decoration: underline;
    transition: all 0.3s ease;
}

.support a:hover {
    color: #f0f0f0;
    text-decoration: none;
}

.support-link {
    color: var(--primary-color) !important;
    font-weight: 600 !important;
}

.support-link:hover {
    color: #3a5ae8 !important;
}

/* IT Support Banner */
.it-support-banner {
    background: linear-gradient(to right, #4a6bff, #5a5ae8);
    color: white;
    padding: 40px 0;
    text-align: center;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
}

.banner-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.banner-content h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.banner-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.banner-content a {
    color: white;
    font-weight: 600;
}

.banner-content a:not(.btn) {
    text-decoration: underline;
    transition: all 0.3s ease;
}

.banner-content a:not(.btn):hover {
    color: #f0f0f0;
}

.banner-btn {
    background-color: rgba(255, 255, 255, 0.9);
    color: #4a6bff !important;
    margin-top: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.banner-btn:hover {
    background-color: white;
    color: #3a5ae8 !important;
    transform: translateY(-3px);
}

/* Service section banner adjustments */
.services-header {
    text-align: center;
    margin-bottom: 50px;
    padding-top: 40px;
}

/* Portfolio section banner adjustments */
.portfolio-header {
    text-align: center;
    margin-bottom: 50px;
    padding-top: 40px;
}

/* Resources section banner adjustments */
.resources .section-title {
    margin-bottom: 20px;
    padding-top: 40px;
}

/* Contact section banner adjustments */
.contact .section-title {
    margin-bottom: 50px;
    padding-top: 40px;
}

/* Testimonials section banner adjustments */
.testimonials-header {
    text-align: center;
    margin-bottom: 50px;
    padding-top: 40px;
}

/* IT Support banner adjustments */
.support-content {
    padding: 50px 30px;
}

/* Add these inside your media queries */
@media (max-width: 768px) {
    .hero {
        padding: 140px 0 60px;
    }
    
    .resource-hero, .calculator-hero {
        height: 300px;
        padding-top: 100px;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 120px 0 40px;
    }
    
    .resource-hero, .calculator-hero {
        height: 280px;
        padding-top: 90px;
    }
}

/* Add a floating calculator button */
.floating-calculator {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 100;
    transition: all 0.3s ease;
}

.floating-calculator:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

.floating-calculator i {
    font-size: 1.8rem;
}

/* Mobile adjustments for floating calculator */
@media (max-width: 768px) {
    .floating-calculator {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        position: fixed;
        z-index: 100;
    }
    
    .floating-calculator i {
        font-size: 1.6rem;
    }
}

@media (max-width: 576px) {
    .floating-calculator {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
        position: fixed;
        z-index: 100;
    }
    
    .floating-calculator i {
        font-size: 1.4rem;
    }
}

/* Make the calculator card in the resources section stand out */
.resource-card.calculator-card {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.resource-card.calculator-card .resource-icon {
    transform: scale(1.1);
}

.resource-card.calculator-card h3 {
    color: var(--primary-color);
    font-weight: 600;
} 