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

:root {
    --primary-color: #5392C6;
    --accent-color: #555555;
    --white: #ffffff;
    --black: #000000;
    --gray-light: #f8f9fa;
    --gray-medium: #6c757d;
    --gray-dark: #343a40;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 1.5;
    color: var(--black);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    margin-bottom: 1.5rem;
    color: var(--white);
    font-size: clamp(2.5rem, 7vw, 4rem);
    font-weight: 800;
    text-shadow: 0 4px 24px rgba(0,0,0,0.25), 0 1px 2px rgba(0,0,0,0.18);
    border-radius: 0;
    padding: 0;
    background: none;
    display: inline-block;
    line-height: 1.1;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

h4 {
    font-size: clamp(1.1rem, 2.5vw, 1.25rem);
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    min-width: 120px;
}

.btn:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #0a5a8f;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

/* Header */
.header {
    position: sticky;
    top: 0;
    background-color: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 1rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--black);
    font-weight: 600;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
}

.nav-link:hover,
.nav-link:focus {
    color: var(--primary-color);
    background-color: var(--gray-light);
}

.nav-link.cta-button {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.75rem 1.5rem;
}

.nav-link.cta-button:hover {
    background-color: #0a5a8f;
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--black);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 60vh;
    background: linear-gradient(rgba(83,146,198,0.7), rgba(83,146,198,0.7)),
                url('images/Frontpagebackground.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.hero-content {
    text-align: center;
    color: var(--white);
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero .btn-secondary {
    background: rgba(255,255,255,0.92);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    font-weight: 700;
    transition: var(--transition);
}

.hero .btn-secondary:hover,
.hero .btn-secondary:focus {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    outline: 2px solid var(--primary-color);
}

/* Sections */
section {
    padding: 4rem 0;
}

.section-heading {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--accent-color);
}

/* Why Choose Section */
.why-choose {
    background-color: var(--gray-light);
}

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

.feature-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.feature-icon {
    margin-bottom: 1rem;
    transition: var(--transition);
}

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

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-icon svg {
    stroke: var(--accent-color) !important;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-item {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.service-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.learn-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: 1rem;
    transition: var(--transition);
}

.learn-more:hover {
    color: #0a5a8f;
    transform: translateX(5px);
}

/* Testimonials */
.testimonials {
    background-color: var(--gray-light);
}

.testimonials-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-card {
    display: none;
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.testimonial-card.active {
    display: block;
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--gray-dark);
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.testimonial-author img {
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.testimonial-author p {
    color: var(--gray-medium);
    margin-bottom: 0;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-btn {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: var(--transition);
}

.carousel-btn:hover,
.carousel-btn:focus {
    background-color: #0a5a8f;
    transform: scale(1.1);
}

/* Resources */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.resource-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.resource-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.resource-icon {
    margin-bottom: 1rem;
}

.resource-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.resource-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: 1rem;
    transition: var(--transition);
}

.resource-link:hover {
    color: #0a5a8f;
    transform: translateX(5px);
}

.resource-icon svg {
    stroke: var(--primary-color) !important;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.contact-details h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.contact-details address {
    font-style: normal;
}

.contact-details p {
    margin-bottom: 1rem;
}

.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-details a:hover {
    color: #0a5a8f;
}

/* Form Styles */
.form {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--black);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--gray-medium);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(15, 117, 188, 0.1);
}

.form-group small {
    display: block;
    margin-top: 0.25rem;
    color: var(--gray-medium);
    font-size: 0.875rem;
}

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    min-height: 1.25rem;
}

/* Footer */
.footer {
    background-color: var(--gray-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section a {
    color: var(--gray-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid var(--gray-medium);
    padding-top: 1rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-legal img {
    height: 40px;
    width: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-toggle {
        display: block;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

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

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }

    section {
        padding: 2rem 0;
    }

    .hero {
        min-height: 50vh;
    }

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

    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }
}

/* Accessibility Enhancements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
*:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000080;
        --accent-color: #000000;
    }
}

/* Print styles */
@media print {
    .header,
    .nav,
    .hero-buttons,
    .carousel-controls,
    .form,
    .footer {
        display: none;
    }

    .hero {
        background: none;
        color: var(--black);
    }

    .hero h1,
    .hero-subtitle {
        color: var(--black);
    }
}

/* Seller Net Sheet Calculator styles */
.calculator-section {
  max-width: 500px;
  margin: 2rem auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(83,146,198,0.08);
  padding: 2rem;
}
.calculator-section h1 {
  color: #5392C6;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}
#net-sheet-form .form-group {
  margin-bottom: 1.25rem;
}
#net-sheet-form label {
  display: block;
  margin-bottom: 0.5rem;
  color: #555555;
  font-weight: 600;
}
#net-sheet-form input[type="number"] {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #5392C6;
  border-radius: 6px;
  font-size: 1rem;
}
#net-sheet-form .primary-btn {
  background: #5392C6;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.75rem 1.5rem;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
  margin-top: 1rem;
  transition: background 0.2s;
}
#net-sheet-form .primary-btn:focus,
#net-sheet-form .primary-btn:hover {
  background: #3571a3;
  outline: 2px solid #3571a3;
}
.results {
  margin-top: 2rem;
  background: #f4f8fb;
  border: 1px solid #5392C6;
  border-radius: 8px;
  padding: 1.5rem;
  color: #222;
  font-size: 1.2rem;
}
@media (max-width: 600px) {
  .calculator-section {
    padding: 1rem;
    max-width: 100%;
  }
  .calculator-section h1 {
    font-size: 1.3rem;
  }
  #net-sheet-form .primary-btn {
    font-size: 1rem;
  }
}

/* About Page Styles */
.hero-section {
    background: linear-gradient(135deg, #5392C6 0%, #3571a3 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

.about-content {
    padding: 4rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-text h2 {
    color: #5392C6;
    margin-bottom: 1rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.about-text ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.about-stats {
    display: grid;
    gap: 1rem;
}

.stat-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    border-left: 4px solid #5392C6;
}

.stat-card h3 {
    color: #5392C6;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.team-section {
    background: #f8f9fa;
    padding: 4rem 0;
}

.team-section h2 {
    text-align: center;
    color: #5392C6;
    margin-bottom: 3rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-member {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.member-photo {
    width: 140px;
    height: 140px;
    margin: 0 auto 1rem auto;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    display: block;
}

.team-member h3 {
    color: #5392C6;
    margin-bottom: 0.5rem;
}

.team-member .title {
    color: #666;
    font-weight: 600;
    margin-bottom: 1rem;
}

.values-section {
    padding: 4rem 0;
}

.values-section h2 {
    text-align: center;
    color: #5392C6;
    margin-bottom: 3rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 2px solid #f0f0f0;
    transition: border-color 0.3s;
}

.value-card:hover {
    border-color: #5392C6;
}

.value-card h3 {
    color: #5392C6;
    margin-bottom: 1rem;
}

/* Services Page Styles */
.services-detail {
    padding: 4rem 0;
}

.service-item-detailed {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    align-items: center;
}

.service-item-detailed:nth-child(even) {
    direction: rtl;
}

.service-item-detailed:nth-child(even) .service-content {
    direction: ltr;
}

.service-content h2 {
    color: #5392C6;
    margin-bottom: 1rem;
}

.service-content h3 {
    color: #555;
    margin: 1.5rem 0 0.5rem 0;
}

.service-content ul, .service-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-content li {
    margin-bottom: 0.5rem;
}

.service-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
}

.btn-primary {
    display: inline-block;
    background: #5392C6;
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: #3571a3;
}

/* Resources Page Styles */
.resources-content {
    padding: 4rem 0;
}

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

.resource-card-large {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid #f0f0f0;
}

.resource-card-large h2 {
    color: #5392C6;
    margin-bottom: 1rem;
}

.resource-card-large ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.resource-card-large li {
    margin-bottom: 0.5rem;
}

.downloads-section {
    background: #f8f9fa;
    padding: 4rem 0;
}

.downloads-section h2 {
    text-align: center;
    color: #5392C6;
    margin-bottom: 3rem;
}

.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.download-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.download-item h3 {
    color: #5392C6;
    margin-bottom: 1rem;
}

.btn-secondary {
    display: inline-block;
    background: #555;
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-secondary:hover {
    background: #333;
}

/* Contact Page Styles */
.contact-content {
    padding: 4rem 0;
}

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

.contact-info h2 {
    color: #5392C6;
    margin-bottom: 2rem;
}

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

.contact-item h3 {
    color: #555;
    margin-bottom: 0.5rem;
}

.contact-item address {
    font-style: normal;
    line-height: 1.6;
}

.contact-item a {
    color: #5392C6;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.emergency-contact {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
}

.emergency-contact h3 {
    color: #856404;
    margin-bottom: 1rem;
}

.contact-form-section h2 {
    color: #5392C6;
    margin-bottom: 2rem;
}

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

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #555;
    font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
}

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

.map-section {
    background: #f8f9fa;
    padding: 4rem 0;
}

.map-section h2 {
    text-align: center;
    color: #5392C6;
    margin-bottom: 2rem;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.service-areas {
    padding: 4rem 0;
}

.service-areas h2 {
    text-align: center;
    color: #5392C6;
    margin-bottom: 3rem;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.area-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.area-item h3 {
    color: #5392C6;
    margin-bottom: 1rem;
}

.area-item ul {
    list-style: none;
    padding: 0;
}

.area-item li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

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

/* FAQ Page Styles */
.faq-content {
    padding: 4rem 0;
}

.faq-search {
    width: 100%;
    padding: 1rem;
    border: 2px solid #5392C6;
    border-radius: 8px;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.faq-categories {
    display: grid;
    gap: 3rem;
}

.faq-category h2 {
    color: #5392C6;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #5392C6;
}

.faq-item {
    margin-bottom: 1.5rem;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
}

.faq-item h3 {
    background: #f8f9fa;
    padding: 1rem;
    margin: 0;
    cursor: pointer;
    color: #555;
    transition: background 0.3s;
}

.faq-item h3:hover {
    background: #e9ecef;
}

.faq-answer {
    display: none;
    padding: 1rem;
    background: white;
}

.faq-answer p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.faq-answer ul {
    margin-left: 1.5rem;
}

.contact-cta {
    background: #f8f9fa;
    padding: 4rem 0;
    text-align: center;
}

.contact-cta h2 {
    color: #5392C6;
    margin-bottom: 1rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Closing Cost Calculator Styles */
.calculator-section {
    padding: 4rem 0;
}

.form-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.form-section h2 {
    color: #5392C6;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #5392C6;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #555;
    font-weight: 600;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
}

.cost-breakdown {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.cost-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

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

.total-costs {
    text-align: center;
    background: #5392C6;
    color: white;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.total-amount {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 1rem 0;
}

.disclaimer {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 1rem;
    border-radius: 8px;
    color: #856404;
}

.calculator-info {
    background: #f8f9fa;
    padding: 4rem 0;
}

.calculator-info h2 {
    text-align: center;
    color: #5392C6;
    margin-bottom: 3rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.info-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.info-item h3 {
    color: #5392C6;
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-grid,
    .contact-grid,
    .service-item-detailed {
        grid-template-columns: 1fr;
    }
    
    .service-item-detailed:nth-child(even) {
        direction: ltr;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .faq-search {
        font-size: 1rem;
    }
    
    .total-amount {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 2rem 0;
    }
    
    .hero-section h1 {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .about-content,
    .services-detail,
    .resources-content,
    .contact-content,
    .faq-content,
    .calculator-section {
        padding: 2rem 0;
    }
    
    .team-grid,
    .values-grid,
    .resources-grid,
    .downloads-grid,
    .areas-grid,
    .info-grid {
        grid-template-columns: 1fr;
    }
}

/* Navigation Dropdown Styles */
.nav-dropdown {
    position: relative;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
    display: block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    min-width: 200px;
    z-index: 1000;
    padding: 0.5rem 0;
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: #555;
    text-decoration: none;
    transition: background 0.2s;
}

.dropdown-menu a:hover {
    background: #f8f9fa;
    color: #5392C6;
}

.dropdown-menu a[aria-current="page"] {
    background: #5392C6;
    color: white;
}

/* Mobile dropdown styles */
@media (max-width: 768px) {
    .nav-dropdown {
        position: static;
    }
    
    .dropdown-menu {
        position: static;
        display: none;
        box-shadow: none;
        border: none;
        background: #f8f9fa;
        margin-left: 1rem;
    }
    
    .nav-dropdown.active .dropdown-menu {
        display: block;
    }
    
    .dropdown-menu a {
        padding: 0.5rem 1rem;
        border-left: 3px solid #5392C6;
        margin-left: 0.5rem;
    }
} 

.about-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    display: block;
    margin: 0 auto;
}
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr !important;
    }
    .about-image img {
        max-width: 100%;
        margin-bottom: 2rem;
    }
} 

.about-story {
    max-width: 900px;
    margin: 0 auto 3rem auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}
.about-story .about-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    display: block;
    margin: 0 auto;
}
.about-story .about-text {
    width: 100%;
    max-width: 700px;
    text-align: left;
}
@media (max-width: 600px) {
    .about-story .about-text {
        padding: 0 1rem;
    }
} 