/* Core Design System & Resets */
:root {
    /* Fixed Color Palette (No Light/Dark Mode Toggle) */
    --primary-color: #0a192f; /* Dark Blue - for header, primary backgrounds, main headings */
    --secondary-color: #DAA520; /* Goldenrod - for secondary elements/buttons */
    --accent-color: #E59400; /* Redish-Gold - for icons, highlights, emphasis, active states */
    --neutral-light: #E0E0E0; /* Dimmed Light Gray - for card backgrounds, sections meant to be lighter */
    --neutral-dark: #333333; /* Dark Gray - for text on light backgrounds */
    --background-color: #0a192f; /* Main page background - consistent dark blue */
    --text-color-on-dark: #e5e7eb; /* Off-white for text on dark backgrounds */
    --text-color-on-light: #333333; /* Dark text for text on light backgrounds */

    --font-family-montserrat: 'Montserrat', sans-serif;
}

/* HTML and Body base styles for proper sticky behavior and overflow control */
html {
    height: 100%; /* Important for position: sticky to work reliably */
    width: 100%; /* Ensure html takes full width */
    overflow-x: hidden; /* Crucial for preventing horizontal scroll */
}

body {
    min-height: 100vh;
    width: 100%; /* Ensure body takes full width */
    overflow-x: hidden; /* Crucial for preventing horizontal scroll */
    overflow-y: auto;   /* Allow vertical scroll */
    margin: 0;
    padding: 0;
    font-family: var(--font-family-montserrat);
    background-color: var(--background-color); /* Main background color */
    color: var(--text-color-on-dark); /* Default text color for the body's dark background */
    line-height: 1.6;
    scroll-behavior: smooth; 
    display: flex;
    flex-direction: column;
}

/* Specific body style for auth pages to ensure full dark background */
body.auth-page {
    background-color: var(--background-color); /* Explicitly set for auth pages */
    color: var(--text-color-on-dark); /* Explicitly set for auth pages */
    display: flex;
    flex-direction: column;
    min-height: 100vh; 
    justify-content: center; /* Vertically center content */
    align-items: center; /* Horizontally center content */
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Include padding and border in element's total width and height */
}

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

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    /* Default heading color on main background sections.
       Will be overridden by specific rules below for white/black. */
    color: var(--primary-color); 
    margin-bottom: 20px;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.8rem; }

/* Paragraphs */
p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

.section-description {
    font-size: 1.2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

/* Buttons (CTAs) */
.cta-button {
    padding: 14px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    display: inline-block; 
    font-weight: 500;
}

/* Focus styles for accessibility (keyboard navigation) */
.cta-button:focus,
.hamburger:focus,
.mobile-nav a:focus,
.footer a:focus { 
    outline: 3px solid var(--accent-color); /* Redish-Gold outline for focus */
    outline-offset: 2px;
}

.primary-btn {
    background-color: var(--primary-color);
    color: var(--text-color-on-dark); /* Light text on primary background */
}

.primary-btn:hover {
    background-color: #000066; /* Darker shade of navy */
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.secondary-btn {
    background-color: var(--secondary-color); /* Goldenrod */
    color: var(--text-color-on-light); /* Dark text on goldenrod for contrast */
}

.secondary-btn:hover {
    background-color: #B8860B; /* Darker shade of goldenrod */
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.accent-btn { /* Not explicitly used as a button, but defined for consistency */
    background-color: var(--accent-color); /* Redish-Gold */
    color: var(--text-color-on-light); /* Dark text on bright accent */
}

.accent-btn:hover {
    background-color: #B26B00; /* Darker shade of redish-gold */
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.large-btn {
    padding: 16px 35px;
    font-size: 1.2rem;
}

/* Text alignment */
.text-center {
    text-align: center;
}

.mt-40 {
    margin-top: 40px;
}

/* Backgrounds and Text Colors based on Section Type */
.light-bg {
    background-color: var(--neutral-light); /* Fixed light gray */
    color: var(--text-color-on-light); /* Default dark text for light backgrounds */
}
.light-bg p, .light-bg strong, .light-bg span, .light-bg .link-separator {
    color: var(--text-color-on-light);
}
/* Ensure headings on light backgrounds are the primary color (dark blue) or explicitly black */
.light-bg h2, .light-bg .feature-card h3, .light-bg .testimonial-card .author, .light-bg .faq-item h3, .light-bg .contact-details p a {
    color: var(--primary-color); 
}
.light-bg .contact-details p i {
    color: var(--primary-color); /* Icons in contact section (light-bg) */
}


.dark-bg {
    background-color: var(--neutral-dark); /* Fixed dark gray */
    color: var(--text-color-on-dark); /* Light text for dark backgrounds */
}

/* All headers on dark backgrounds are now gold */
.dark-bg h1, .dark-bg h2, .dark-bg h3, .dark-bg h4, .dark-bg h5, .dark-bg h6 {
    color: var(--accent-color); 
}

/* Ensure other text on dark backgrounds is light */
.dark-bg p, .dark-bg strong, .dark-bg span, .dark-bg .link-separator { 
    color: var(--text-color-on-dark); 
}


/* Specific header colors requested by the user: WHITE */
/* These h2s are NOT in .dark-bg sections, they are on the main background (var(--background-color)) */
.features-section h2, /* "Core Platform Capabilities" on index.html */
.gallery-section h2, /* "Gallery" on index.html */
.cta-section h2,     /* "Ready to Transform Your Security Operations?" on index.html */
.faq-section h2 {    /* "Frequently Asked Questions" on index.html */
    color: var(--text-color-on-dark); /* Make these white */
}

/* The subpage hero headings (h1) should also be white */
.hero-subpage h1 {
    color: var(--text-color-on-dark); /* Make these white */
}

/* Specific header colors requested by the user: BLACK */
/* These h2s are in .light-bg sections */
#all-features h2,      /* "Our Powerful Features" on features.html (within .light-bg) */
#cta-pricing-bottom h2, /* "Need a Custom Solution..." on pricing.html (within .light-bg) */
#cta-faqs h2 {         /* "Still Have Questions?" on faqs.html (within .light-bg) */
    color: var(--text-color-on-light); /* Make these black (dark gray) */
}


/* Header & Navigation */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--primary-color); /* Fixed primary color */
    padding: 10px 20px; /* Initial larger padding */
    box-shadow: 0 2px 8px rgba(0,0,0,0.3); /* Initial lighter shadow */
    min-height: 70px; /* Initial larger height */
    display: flex; 
    align-items: center;
    transition: all 0.3s ease-in-out; /* Smooth transition for hover effect */
}

/* Scrolled Header State - applies when 'scrolled' class is added by JS */
header.scrolled {
    min-height: 40px; /* Smaller height when scrolled */
    padding: 5px 20px; /* Smaller padding when scrolled */
    box-shadow: 0 2px 10px rgba(0,0,0,0.4); /* Stronger shadow when scrolled */
}

.nav-container {
    display: flex;
    justify-content: space-between; /* Ensures logo left, hamburger/menu right */
    align-items: center;
    width: 100%;
    transition: all 0.3s ease-in-out; /* Add transition for nav-container if properties change */
}

.header-right {
    display: flex;
    align-items: center;
    gap: 0; /* No gap needed as only hamburger is here */
}

.logo {
    color: var(--accent-color); /* Make TEK1SECURITY gold (redish-gold now) */
    font-size: 2rem; /* Initial larger logo size */
    font-weight: bold; /* Make bold as requested */
    text-decoration: none;
    transition: font-size 0.3s ease, color 0.3s ease; /* Ensure font-size transitions */
}

header.scrolled .logo {
    font-size: 1.5rem; /* Smaller logo when scrolled */
}

.logo:hover {
    color: var(--secondary-color); /* Goldenrod on hover */
}

/* Desktop menu removed from HTML, so this rule ensures it's hidden */
nav ul { 
    display: none; 
}

/* Hamburger - always visible as the main navigation trigger */
.hamburger {
    display: block; 
    font-size: 2rem;
    color: var(--text-color-on-dark); /* Light color for icon on dark header */
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 1001; /* Ensure hamburger is above mobile nav */
    padding: 5px; /* Increase tap target area */
}

.hamburger:hover {
    color: var(--accent-color); /* Redish-Gold on hover */
}

/* Mobile Navigation */
.mobile-nav {
    display: none; /* Hidden by default, shown when hamburger is clicked */
    flex-direction: column;
    background: var(--primary-color); /* Fixed primary color */
    position: absolute;
    top: 70px; /* Initial top position (below initial header height) */
    left: 0;
    width: 100%;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 999;
    transition: top 0.3s ease-in-out, background-color 0.3s ease; /* Smooth transition for top position */
}

header.scrolled .mobile-nav {
    top: 40px; /* Adjust top position when header shrinks */
}

.mobile-nav a {
    padding: 12px 0;
    text-decoration: none;
    color: var(--text-color-on-dark); /* Light text for mobile nav links */
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: background-color 0.3s ease;
}

.mobile-nav a:last-child {
    border-bottom: none;
}

.mobile-nav a:hover {
    background-color: #000066; /* Slightly darker navy */
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav .mobile-cta {
    margin-top: 15px; 
    text-align: center;
}

/* Hero Section (Main Homepage) */
.hero {
    text-align: center;
    padding: 80px 20px 60px; 
    background: linear-gradient(to bottom, var(--primary-color), #0a192f); /* Fixed gradient */
    color: var(--text-color-on-dark); /* Light text for hero section */
}

.hero h1 {
    font-size: 3.2rem; 
    margin-bottom: 25px;
    color: var(--text-color-on-dark); /* Always light text for hero heading */
}

.hero p {
    font-size: 1.25rem; 
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-color-on-dark); /* Always light text for hero paragraph */
}

.hero .cta-button {
    margin: 0 10px; 
}

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

/* Subpage Hero Section (e.g., Features, Pricing, Testimonials, FAQs, Contact, Sign Up) */
.hero-subpage {
    text-align: center;
    padding: 80px 20px 60px;
    background: linear-gradient(to bottom, var(--primary-color), #0a192f);
    color: var(--text-color-on-dark);
}
.hero-subpage h1 {
    font-size: 3.2rem;
    margin-bottom: 25px;
    color: var(--text-color-on-dark); /* Explicitly white as requested */
}
.hero-subpage p {
    font-size: 1.25rem;
    max-width: 900px;
    margin: 0 auto 40px;
    color: var(--text-color-on-dark);
}


/* Sections */
main {
    flex-grow: 1; /* Allow main content to grow and push footer down */
}

.benefits-section,
.features-section,
.about-section,
.cta-section,
.testimonials-section,
.faq-section,
.contact-section {
    padding: 80px 0; 
}

/* Gallery Section */
.gallery-section {
    padding: 80px 0;
    text-align: center; 
}
.gallery-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px; 
}
.gallery-images img {
    width: 100%;
    height: 200px; 
    object-fit: cover; 
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-images img:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}


/* Features Grid - Cards */
.benefits-grid,
.features-grid,
.testimonials-grid,
.pricing-grid, /* Added for pricing plans */
.faq-grid {    /* Added for FAQ items on faqs.html */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 30px;
    margin-top: 30px;
}

/* Cards (Feature, Benefit, Testimonial, FAQ Item, Pricing Card) */
.feature-card,
.benefit-card,
.testimonial-card,
.faq-item,
.pricing-card, /* Added for pricing cards */
.contact-detail-card /* Added for contact info cards */
{
    background-color: var(--neutral-light); /* Fixed background for cards */
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    color: var(--text-color-on-light); /* Dark text on light cards */
}

.feature-card:hover,
.benefit-card:hover,
.testimonial-card:hover,
.pricing-card:hover,
.contact-detail-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.feature-card i,
.benefit-card i,
.contact-detail-card i { /* Also applies to contact detail icons */
    font-size: 2.5rem; 
    margin-bottom: 20px;
    color: var(--accent-color); /* Redish-Gold icons */
}

.feature-card h3,
.benefit-card h3,
.pricing-card h3,
.contact-detail-card h3 { /* Also applies to pricing and contact detail headings */
    margin-bottom: 15px;
    font-size: 1.6rem;
    color: var(--primary-color); /* Primary color headings on cards */
}

.feature-card p,
.benefit-card p,
.pricing-card p,
.contact-detail-card p { /* Also applies to pricing and contact detail paragraphs */
    color: var(--text-color-on-light); /* Dark text on light cards */
}

/* Pricing Specifics */
.pricing-card.recommended {
    position: relative;
    border: 3px solid var(--accent-color); /* Redish-Gold border for recommended plan */
    box-shadow: 0 6px 20px rgba(0,0,0,0.2); /* Stronger shadow */
    overflow: hidden;
    padding-top: 50px; /* Make space for ribbon */
}

.pricing-card .ribbon {
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    background-color: var(--accent-color); /* Redish-Gold for ribbon */
    color: var(--text-color-on-light);
    font-weight: bold;
    text-align: center;
    padding: 8px 0;
    transform: translateX(30%) rotate(45deg);
    transform-origin: 100% 0%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    font-size: 0.85rem;
}

.pricing-card .price {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color); /* Primary color for price */
    margin-bottom: 10px;
}

.pricing-card .price span {
    font-size: 1.2rem;
    font-weight: normal;
    color: var(--text-color-on-light);
}

.pricing-card .description {
    font-size: 1rem;
    margin-bottom: 20px;
    min-height: 48px; /* Ensure consistent height for descriptions */
}

.pricing-card .features-list {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
    padding: 0 15px;
}

.pricing-card .features-list li {
    margin-bottom: 10px;
    font-size: 1rem;
    color: var(--text-color-on-light);
}

.pricing-card .features-list li i {
    margin-right: 10px;
    font-size: 1rem; /* Smaller icon size for list items */
}

.pricing-card .features-list li .fa-check-circle {
    color: #28a745; /* Green for checkmark (kept standard green for clarity) */
}

.pricing-card .features-list li .fa-times-circle {
    color: #dc3545; /* Red for cross (kept standard red for clarity) */
}


/* Feature Comparison Table */
.feature-comparison-table {
    overflow-x: auto; /* Allow horizontal scrolling on small screens */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling for iOS */
    margin-top: 40px;
}

.feature-comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--neutral-light); /* Light background for table */
    border-radius: 12px;
    overflow: hidden; /* Ensures rounded corners apply to content */
    min-width: 600px; /* Ensures table doesn't get too narrow on mobile */
}

.feature-comparison-table th,
.feature-comparison-table td {
    padding: 15px;
    border: 1px solid rgba(0,0,0,0.1);
    text-align: center;
    color: var(--text-color-on-light);
}

.feature-comparison-table thead th {
    background-color: var(--primary-color);
    color: var(--text-color-on-dark);
    font-weight: bold;
    font-size: 1.1rem;
}

.feature-comparison-table tbody tr:nth-child(even) {
    background-color: rgba(0,0,0,0.03); /* Subtle stripe effect */
}

.feature-comparison-table tbody td.check i {
    color: #28a745; /* Green check */
    font-size: 1.2rem;
}

.feature-comparison-table tbody td.cross i {
    color: #dc3545; /* Red cross */
    font-size: 1.2rem;
}

/* Testimonials */
.testimonial-card {
    border-left: 6px solid var(--accent-color); /* Redish-Gold border */
    text-align: left; 
}

.testimonial-card .quote {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--text-color-on-light); /* Dark text on light cards */
}

.testimonial-card .author {
    font-weight: 600;
    color: var(--primary-color); /* Primary color for author on cards */
}

/* FAQ Section */
.faq-item {
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-align: left; /* Keep FAQ items left-aligned */
}

.faq-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-color); /* Primary color for FAQ headings */
}

.faq-item p {
    color: var(--text-color-on-light); /* Dark text on light cards */
}

/* Contact Section (general styling for info cards and form) */
.contact-details-grid { /* For contact info cards on contact.html */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
    text-align: center;
}

.contact-detail-card {
    /* Styles from .feature-card, .benefit-card etc. already apply */
    text-align: center; /* Override default left-align of inherited styles */
}


.contact-details p {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

/* Links within contact details */
.contact-details p a,
.contact-detail-card p a { /* Apply to contact cards too */
    color: var(--text-color-on-light); /* Dark text for links on light background */
    text-decoration: none; /* Remove default underline */
    transition: color 0.3s ease;
    display: inline-block; /* Make the whole line clickable */
}
.contact-details p a:hover,
.contact-detail-card p a:hover { /* Apply to contact cards too */
    color: var(--accent-color); /* Redish-Gold on hover */
}


.contact-details p i,
.contact-detail-card i { /* Apply to contact cards too */
    margin-right: 10px;
    color: var(--accent-color); /* Redish-Gold for icons */
}

/* Contact Form Specifics */
.contact-form {
    max-width: 700px;
    margin: 40px auto 0;
    background-color: var(--background-color); /* Use dark blue for form background */
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    color: var(--text-color-on-dark); /* Light text for form labels and placeholders */
    text-align: left; /* Ensure form elements are left-aligned */
}

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

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color-on-dark); /* White label text */
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form input[type="password"], /* Added for signup */
.contact-form textarea,
.contact-form select { /* Added for potential future select input */
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255,255,255,0.2); /* Light border on dark background */
    border-radius: 8px;
    background-color: rgba(255,255,255,0.05); /* Slightly transparent background */
    color: var(--text-color-on-dark); /* White input text */
    font-size: 1rem;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form input[type="password"]:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--accent-color); /* Redish-Gold border on focus */
    background-color: rgba(255,255,255,0.1); /* Slightly more opaque background on focus */
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(229, 231, 235, 0.6); /* Lighter placeholder text */
}

/* Checkbox specific styling */
.contact-form input[type="checkbox"] {
    width: auto; /* Override 100% width */
    margin-right: 10px;
}

.contact-form label[for="terms"] { /* For the "I agree to terms" checkbox */
    display: inline-block;
    margin-bottom: 0;
    font-weight: 400;
}
.contact-form label[for="terms"] a {
    color: var(--accent-color); /* Redish-Gold link for terms/privacy */
    text-decoration: underline;
}
.contact-form label[for="terms"] a:hover {
    color: var(--secondary-color);
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--text-color-on-dark);
    padding: 60px 0 20px;
    font-size: 0.95rem;
    line-height: 1.6;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.3);
    margin-top: auto; /* Pushes footer to the bottom */
}

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

.footer-about h3, .footer-links-group h3, .footer-contact h3 {
    color: var(--accent-color); /* Redish-Gold for footer headings */
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.footer-about p {
    color: rgba(229, 231, 235, 0.8); /* Slightly dimmed text */
}

.footer-links-group ul {
    padding: 0;
    list-style: none;
}

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

.footer-links-group ul li a {
    color: var(--text-color-on-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links-group ul li a:hover {
    color: var(--secondary-color); /* Goldenrod on hover */
}

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

.footer-contact p i {
    margin-right: 10px;
    color: var(--accent-color); /* Redish-Gold icons */
}

.footer-contact .contact-link {
    color: var(--text-color-on-dark);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block; /* Make the whole line clickable */
}

.footer-contact .contact-link:hover {
    color: var(--secondary-color); /* Goldenrod on hover */
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    color: rgba(229, 231, 235, 0.7); /* Lighter text for copyright */
}

.footer-legals {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

.footer-legals a {
    color: rgba(229, 231, 235, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legals a:hover {
    color: var(--secondary-color);
}

.link-separator {
    color: rgba(229, 231, 235, 0.7);
}

.powered-by {
    margin-top: 10px;
    margin-bottom: 5px;
}
.powered-by a {
    color: var(--text-color-on-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}
.powered-by a:hover {
    color: var(--secondary-color);
}
.teknnuku-gold {
    color: var(--secondary-color);
    font-weight: bold;
}


/* Responsive Adjustments (General) */
@media (max-width: 992px) {
    .container {
        padding: 0 15px;
    }
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.6rem; }
    p { font-size: 1rem; }
    .hero h1, .hero-subpage h1 { font-size: 2.8rem; }
    .hero p, .hero-subpage p { font-size: 1.1rem; }

    .benefits-grid, .features-grid, .testimonials-grid, .pricing-grid, .faq-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }
    .feature-card, .benefit-card, .testimonial-card, .faq-item, .pricing-card, .contact-detail-card {
        padding: 25px;
    }
    .feature-card h3, .benefit-card h3, .pricing-card h3, .contact-detail-card h3 {
        font-size: 1.4rem;
    }
    .feature-card i, .benefit-card i, .contact-detail-card i {
        font-size: 2.2rem;
    }

    .footer-content {
        grid-template-columns: 1fr; /* Stack columns on tablets */
        text-align: center;
    }
    .footer-links-group ul {
        text-align: center;
    }
    .footer-contact p {
        justify-content: center; /* Center contact info */
    }
}

@media (max-width: 768px) {
    section {
        padding: 40px 0; /* More consistent padding for sections on mobile */
    }
    .hero {
        padding: 60px 15px 40px;
    }
    .hero-subpage {
        padding: 60px 15px 40px;
    }
    .hero h1, .hero-subpage h1 { font-size: 2.2rem; }
    .hero p, .hero-subpage p { font-size: 1rem; }
    .cta-button { padding: 10px 20px; font-size: 0.95rem; }
    .large-btn { padding: 12px 25px; font-size: 1.1rem; }

    .section-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    .gallery-images {
        grid-template-columns: 1fr; /* Stack gallery images */
    }

    .benefits-grid, .features-grid, .testimonials-grid, .pricing-grid, .faq-grid {
        grid-template-columns: 1fr; /* Stack cards vertically on mobile */
        gap: 20px;
    }
    .pricing-card.recommended {
        padding-top: 40px; /* Adjust for ribbon */
    }
    .pricing-card .ribbon {
        width: 100px;
        font-size: 0.8rem;
    }
    .pricing-card .price {
        font-size: 2.5rem;
    }
    .pricing-card .features-list {
        padding: 0; /* Remove horizontal padding on small screens */
    }

    .feature-comparison-table {
        margin-top: 20px;
    }
    .feature-comparison-table th,
    .feature-comparison-table td {
        padding: 10px;
        font-size: 0.9rem;
    }

    .contact-form {
        padding: 30px 20px;
        margin-top: 20px;
    }
    .contact-form label {
        font-size: 0.9rem;
    }
    .contact-form input, .contact-form textarea, .contact-form select {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .footer {
        padding: 40px 0 15px;
    }
    .footer-content {
        gap: 30px;
    }
    .footer-about h3, .footer-links-group h3, .footer-contact h3 {
        font-size: 1.2rem;
    }
    .footer-contact p {
        font-size: 0.85rem;
    }
    .footer-legals {
        flex-direction: column;
        gap: 5px;
    }
    .footer-legals a, .link-separator {
        font-size: 0.8rem;
    }
        }
