/* Global Styles */
:root {
    --primary: #FF6B00;
    --secondary: #343333;
    --background: #e0d3cd;
    --text: #333;
    --light-bg: #fff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
}

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

section {
    padding: 80px 0;
}

.btn {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #e05d00;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

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

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--primary);
    margin: 15px auto;
}

/* Header Styles */
header {
    background-color: var(--background);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo h1 {
    font-size: 1.8rem;
    color: var(--secondary);
}

.logo span {
    color: var(--primary);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
    position: relative;
}

nav ul li a:hover {
    color: var(--primary);
}

nav ul li a.active {
    color: var(--primary);
}

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

nav ul li a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--secondary);
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: 
    linear-gradient(rgba(0, 0, 0, 0.6), rgba(0,0,0,0.6)),
    url('home.jpg'); /* Update path to your image */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white !important;
    padding: 20px;
    margin-top: 80px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5); /* Improves readability */
}

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

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--secondary);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Services Section */
.featured-services {
    background-color: var(--light-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

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

.service-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
}

/* Footer */
footer {
    background-color: rgb(144, 104, 73);
    color: white;
    padding: 60px 0 20px;
}

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

.footer-col h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.2rem;
}



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

/* Responsive Styles */
@media (max-width: 768px) {
    nav ul {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--background);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-btns {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
}

/* About Page Specific Styles */
.about-hero {
    background: 
        linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('about-hero.jpg') no-repeat center center/cover;
    height: 45vh;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 80px 15px !important;
    margin-top: 70px !important;
}

.about-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .about-hero {
        height: 38vh;
        min-height: 280px;
    }

    .about-hero h1 {
        font-size: 2rem;
    }
}

.history-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.history-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.history-item {
    display: flex;
    margin-bottom: 30px;
}

.history-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-right: 20px;
    min-width: 50px;
}

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

.image-caption {
    text-align: center;
    font-style: italic;
    margin-top: 10px;
    color: #666;
}

.services-overview {
    padding: 80px 0;
}

.service-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-highlight img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.technology-section {
    background-color: var(--secondary);
    color: white;
    padding: 80px 0;
}

.tech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.tech-list {
    list-style: none;
    margin-top: 30px;
}

.tech-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.tech-list i {
    color: var(--primary);
    margin-right: 10px;
}

.values-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.value-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.value-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.team-section {
    padding: 80px 0;
    text-align: center;
}

.team-description {
    max-width: 800px;
    margin: 0 auto 50px;
}

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

.team-member img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 5px solid var(--primary);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .history-grid,
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .history-image {
        order: -1;
    }
}

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

/* Logo image styling */
.logo-image {
    height: 50px; /* Adjust based on your logo proportions */
    width: auto; /* Maintain aspect ratio */
    transition: all 0.3s ease; /* Smooth hover effect */
}

/* Optional: Add hover effect */
.logo-image:hover {
    opacity: 0.8;
}

/* Adjust header container if needed */
.header-container {
    align-items: center;
}

/* If you need to adjust the logo container */
.logo {
    display: flex;
    align-items: center;
    height: 
    100%; /* Take full height of header */
}



.category-section {
    margin-bottom: 60px;
}

.category-title {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}

.services {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.service-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

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

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 20px;
}

.service-content h3 {
    color: var(--secondary);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.service-content p {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

/* --- Services Page Styles (migrert fra services.html) --- */

.services-hero {
    background: 
    linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url('about-hero.jpg') no-repeat center center/cover !important;
    padding: 80px 15px !important;
    margin-top: 80px !important;
    text-align: center !important;
    color: white !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    height: auto !important;
    min-height: unset !important;
}

.services-content-section {
    padding: 60px 0;
    background-color: white;
}

.services-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.services-image-container {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.services-image-container img {
    width: 100%;
    height: auto;
    display: block;
}

.services-text-content {
    flex: 1;
}

.services-text-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Infographic download section */
.infographic-section {
    padding: 40px 0;
    text-align: center;
}

.infographic-download {
    color: var(--primary);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 5px;
}

.infographic-download:hover {
    text-decoration: underline;
}

.file-info {
    color: #666;
    font-size: 0.9rem;
}

/* Responsiv layout for services */
@media (max-width: 768px) {
    .services-container {
        flex-direction: column;
    }

    .services-image-container {
        margin-bottom: 30px;
        max-width: 100%;
    }

    .services-hero {
        height: 40vh;
    }
}

.learn-more {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.learn-more i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.learn-more:hover {
    color: #e05d00;
}

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

/* Footer Styles */
footer {
    background-color: #333;
    color: white;
    padding: 40px 0 20px;
}

.footer-col {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 0 20px;
}

.footer-col h3 {
    color: #d45a29;
    margin-bottom: 20px;
}

.footer-col p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-col i {
    margin-right: 10px;
}

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

/* Responsivt design for mindre skjermer */
@media (max-width: 992px) {
    .footer-col {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .services-hero h1 {
        font-size: 2.2rem;
    }
    
    .services-hero {
        height: 40vh;
    }
    
    .category-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-image {
        height: 180px;
    }
}



/* Security Features Additions */
.security-features-description {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin-top: 30px;
    border: 1px solid #e0e0e0;
}

.feature-highlight, .forgery-warning, .security-tech {
    margin-bottom: 30px;
}

.guarantee-box {
    background: #e8f5e9;
    padding: 15px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    margin-top: 15px;
    border-left: 4px solid #4caf50;
}

.guarantee-box i {
    color: #4caf50;
    font-size: 1.2em;
    margin-right: 10px;
}

.forgery-warning {
    background: #fff3e0;
    padding: 20px;
    border-radius: 5px;
    border-left: 4px solid #ff9800;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.tech-item {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.tech-item i {
    font-size: 2em;
    color: #2196f3;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .tech-grid {
        grid-template-columns: 1fr;
    }
}



.logo {
    position: relative; /* Nødvendig for transform */
    height: 100%; /* Beholder den opprinnelige høyden */
}

.logo-image {
    transform: scale(1.6); /* Juster dette tallet for størrelsen */
    transform-origin: left center; /* Sikrer at den skalerer fra venstre side */
    transition: transform 0.3s ease; /* Glatt overgang ved hover */
}

.logo-image:hover {
    transform: scale(1.25); /* Litt større ved hover */
}

/* Style for footer links */
.footer-link {
    color: white !important; /* Force white color */
    text-decoration: none; /* Remove underline */
    transition: all 0.3s ease; /* Smooth hover effect */
}

.footer-link:hover {
    color: #f0f0f0 !important; /* Slightly lighter on hover */
    text-decoration: underline; /* Add underline on hover */
}

/* If you want the envelope icon to match */
.footer-link .fas {
    color: white;
    margin-right: 5px;
}

footer a {
    color: white !important;
    text-decoration: none;
}

footer a:hover {
    color: #f0f0f0 !important;
    text-decoration: underline;
}


/* Footer Sections */
.footer-col {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

/* Address Styling */
.address {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.address i {
    color: white;
    margin-top: 5px;
    font-size: 1.1em;
}

.address h4 {
    margin: 0 0 5px 0;
    color: white;
    font-size: 1em;
    font-weight: 600;
}

/* Contact Method Styling */
.contact-method {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    align-items: center;
}

.contact-method i {
    color: white;
    font-size: 1.1em;
}

/* Footer Links */
.footer-link {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    line-height: 1.4;
}

.footer-link:hover {
    color: #f0f0f0;
    text-decoration: underline;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .footer-col {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-section {
        min-width: 100%;
    }
}

/* Hero Section Text Color Fix */
.hero,
.hero *:not(.btn):not(.btn-outline) {
    color: white !important;
}

.hero .btn {
    border-color: white;
}

.hero .btn-outline {
    background-color: white;
    color: var(--primary) !important;
}

.hero .btn-outline:hover {
    background-color: transparent;
    color: white !important;
}

@media (max-width: 768px) {
    .mobile-menu { display: block; }
    .desktop-menu { display: none; }
  }
  .mobile-menu {
    z-index: 9999;
    position: relative;
  }
  /* Default desktop styles */
nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333; /* Match your design */
}

/* Mobile styles */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        z-index: 1000;
    }
    
    nav ul.show-menu {
        display: flex;
    }
    
    nav ul li {
        padding: 10px 20px;
    }
    
    nav ul li a {
        display: block;
        padding: 10px 0;
    }
}

/* Resize the large facility image */
.history-image img {
    width: 100%;       /* Responsive width (adjust as needed) */
    max-width: 500px;  /* Limits maximum size */
    height: auto;      /* Maintains aspect ratio */
    border-radius: 8px; /* Optional: Keeps your rounded corners */
    display: block;    /* Prevents extra space below image */
    margin: 0 auto;    /* Centers the image */
}
.history-grid {
    grid-template-columns: 1fr 1fr; /* Current setup */
    gap: 30px;                     /* Space between image and text */
}

/* Make the image column narrower */
.history-image img {
    transform: scale(0.7); /* Shrinks to 70% */
    transform-origin: center;
}

/* Add to your style.css */
.infographic-section {
    background-color: #f5f7fa;
    padding: 40px 0;
    border-top: 1px solid #e1e5eb;
    border-bottom: 1px solid #e1e5eb;
}

.infographic-container {
    max-width: 700px;
    margin: 0 auto;
}

.infographic-img {
    width: 100%;
    max-width: 500px;
    border: 1px solid #ddd;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    display: block;
    margin: 0 auto;
}

.security-hero {
    height: auto;
    padding: 80px 10px;
    margin-top: 80px;
    background: 
    linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url('about-hero.jpg') no-repeat center center/cover !important;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.security-hero h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.security-hero p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}
@media (max-width: 768px) {
    .security-hero {
        height: 45vh;
        min-height: 350px;
    }
    .security-hero h1 {
        font-size: 2.2rem;
    }
    .security-hero p {
        font-size: 1.1rem;
    }
}

/* ===================== Security Page Styles ===================== */

.security-intro {
    background-color: #f9f9f9;
    padding: 60px 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.feature-card {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.feature-card h3 {
    color: #d45a29;
    margin-bottom: 15px;
}

.guarantee-section {
    background-color: #e8f5e9;
    border-left: 4px solid #4caf50;
    padding: 30px;
    margin: 40px 0;
}

.security-badge {
    display: inline-block;
    background-color: #d45a29;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    margin: 5px;
}

/* ========== Security Slider ========== */

.security-slider {
    padding: 60px 0;
    background-color: #fff;
    text-align: center;
}

.slider-container {
    position: relative;
    max-width: 1200px;
    margin: 40px auto;
    overflow: hidden;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 20px;
    padding: 20px 0;
}

.slide {
    min-width: 280px;
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.slide:hover {
    transform: translateY(-5px);
}

.card-number {
    font-size: 24px;
    font-weight: bold;
    color: #d45a29;
    margin-bottom: 10px;
}

.card-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #d45a29;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.left-arrow {
    left: 20px;
}

.right-arrow {
    right: 20px;
}

.slider-arrow:hover {
    background: #b34c23;
}

.slider-arrow:disabled {
    background: #cccccc;
    cursor: not-allowed;
}

/* ========== Infographic Section ========== */

.infographic-section {
    background-color: #f5f7fa;
    padding: 40px 0;
    border-top: 1px solid #e1e5eb;
    border-bottom: 1px solid #e1e5eb;
}

.infographic-section .container {
    max-width: 700px;
    margin: 0 auto;
}

.infographic-section h2 {
    text-align: center;
    margin-bottom: 20px;
}

.infographic-section img {
    width: 100%;
    max-width: 500px;
    border: 1px solid #ddd;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    display: block;
    margin: 0 auto;
}

.download-btn {
    display: inline-block;
    background: #d45a29;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    margin-top: 25px;
}

.download-btn:hover {
    background: #b34c23;
}

.file-size {
    font-size: 0.85rem;
    color: #666;
    margin-top: 8px;
    text-align: center;
}


/* Services Hero Section */
.services-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0,0,0,0.5)), url('services-bg.jpg') center/cover;
    padding: 50px 20px;
    text-align: center;
    color: white;
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
  
  .services-hero h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
  }
.history-grid {
    display: flex;
    gap: 60px; /* Økt mellomrom mellom bilde og tekst */
    align-items: flex-start;
}

.history-image {
    flex: 1.2; /* Økt størrelse på bildet */
    max-width: 450px; /* Økt fra f.eks. 300–400px */
}

.history-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.history-content {
    flex: 2.5; /* Gir tekst mer bredde */
    font-size: 1.1rem; /* Øker tekststørrelse */
    line-height: 1.8;
}

@media (max-width: 768px) {
    .history-grid {
        flex-direction: column;
    }

    .history-image,
    .history-content {
        width: 100%;
    }

    .history-content {
        font-size: 1rem;
        line-height: 1.6;
    }
}


.smaller-heading {
    color: #343333; /* Dark gray like your other headings */
    font-size: 1.8rem; /* Smaller size */
    text-align: center;
    margin: 30px 0;
    position: relative;
}

.smaller-heading::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #FF6B00; /* Orange like your other lines */
    margin: 10px auto;
}

 
.contact-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0,0,0,0.6)), 
                url('about-hero.jpg') center/cover !important;
    color: white;
    padding: 50px 15px;
    text-align: center;
    margin-top: 70px;
    height: 40vh;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
}

.contact-hero .hero-subtitle {
    font-size: 1.4rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .contact-hero {
        height: 35vh;
        min-height: 260px;
    }

    .contact-hero h1 {
        font-size: 2rem;
    }

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


/* Original Contact Page Styles (unchanged) */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.contact-info {
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.contact-info h2 {
    color: #d45a29;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.contact-info p {
    margin-bottom: 15px;
    color: #3a2e26;
    display: flex;
    align-items: flex-start;
}

.contact-info i {
    color: #d45a29;
    margin-right: 15px;
    margin-top: 3px;
    min-width: 20px;
}

.contact-form-section {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: 100%;
}

.contact-form-section h2 {
    color: #d45a29;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.contact-form-section p {
    color: #666;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

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

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #3a2e26;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

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

.submit-btn {
    background-color: #d45a29;
    color: rgb(248, 248, 248);
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: #b34a22;
    transform: translateY(-2px);
}

.free-consultation {
    background-color: #f5f5f0;
    padding: 30px;
    border-radius: 8px;
    margin-top: 40px;
    text-align: center;
}

.free-consultation h3 {
    color: #d45a29;
    margin-bottom: 15px;
}

/* Footer Styles */
.footer-col h3 {
    color: #d45a29;
    margin-bottom: 20px;
}

.footer-col p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-col i {
    margin-right: 10px;
}

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

/* Responsive Styles */
@media (max-width: 992px) {
    .contact-container,
    .footer-col {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .contact-hero {
        padding: 80px 0;
    }
    
    .contact-hero h1 {
        font-size: 2.2rem;
    }
    
    .contact-hero .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .contact-info,
    .contact-form-section {
        padding: 30px;
    }
}

.technology-section {
    background-color: #474241;
    color: #fff;
    padding: 60px 0;
}

.tech-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.tech-image {
    flex: 1 1 40%;
    max-width: 450px;
}

.tech-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.tech-content {
    flex: 1 1 55%;
}

.tech-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.tech-list {
    list-style: none;
    padding-left: 0;
}

.tech-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 16px;
    font-size: 1.2rem;
}

.tech-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #ff6600; /* Oransje punkt */
    font-size: 1.5rem;
    line-height: 1;
}

#thankYouMsg {
    display: none;
    color: green;
    margin-top: 15px;
    font-weight: 500;
    animation: fadeIn 0.6s ease-in-out forwards;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .contact-form-section form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
  }
  
  .form-group {
    flex: 1 1 45%;
    display: flex;
    flex-direction: column;
  }
  
  .form-group.full-width {
    flex: 1 1 100%;
  }
  
  .contact-form-section label {
    margin-bottom: 6px;
    font-weight: bold;
    color: #333;
  }
  
  .contact-form-section input,
  .contact-form-section textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
  }
  
  .contact-form-section textarea {
    resize: vertical;
    min-height: 120px;
  }
  
  .contact-form-section button {
    padding: 10px 25px;
    background-color: #e65c00;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
  }
  
  .contact-form-section button:hover {
    background-color: #cc5200;
  }