/* ========================================
   PREMIUM WEBSITE - BOLD & DYNAMIC THEME
   ServiceBuilt Webworks
   ======================================== */

/* ===== CSS Variables ===== */
:root {
    /* ServiceBuilt Webworks Brand Colors */
    --sb-navy: #0F2A3F;
    --sb-teal: #1C8C9E;
    --sb-light-teal: #4CC7D3;
    --sb-gold: #D9A441;
    --sb-gold-light: #F2C86A;
    --sb-white: #FFFFFF;
    --sb-cream: #f4efe6;
    
    /* Main Color Variables */
    --primary-color: #1C8C9E;
    --secondary-color: #4CC7D3;
    --accent-color: #D9A441;
    --dark-color: #0F2A3F;
    --darker-color: #0a1a2a;
    --light-color: #f0f4f8;
    --text-color: #333;
    --text-light: #666;
    --white: #FFFFFF;
    --cream: #FAF5EB;
    
    /* Gradients using brand colors */
    --gradient-1: linear-gradient(135deg, #0F2A3F 0%, #1C8C9E 100%);
    --gradient-2: linear-gradient(135deg, #1C8C9E 0%, #4CC7D3 100%);
    --gradient-3: linear-gradient(135deg, #D9A441 0%, #F2C86A 100%);
    --gradient-primary: linear-gradient(135deg, #1C8C9E 0%, #4CC7D3 100%);
    --gradient-secondary: linear-gradient(135deg, #D9A441 0%, #F2C86A 100%);
    
    /* Shadows and Effects */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 5px 20px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1200px;
}

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(180deg, #0F2A3F 0%, #1C8C9E 32%, rgba(244, 239, 230, 0.92) 74%, var(--cream) 100%);
    overflow-x: hidden;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ===== Headings ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'League Spartan', sans-serif;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 42, 63, 0.98);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    z-index: 1000;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.navbar.scrolled {
    background: rgba(15, 42, 63, 1);
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.nav-menu {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
}

.nav-link {
    color: var(--cream);
    font-weight: 500;
    padding: 0.4rem 0.75rem;
    font-size: 0.9rem;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
    transition: var(--transition);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 80%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--cream);
    transition: var(--transition);
    border-radius: 3px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(250, 245, 235, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--cream);
    box-shadow: 0 5px 15px rgba(28, 140, 158, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(28, 140, 158, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--cream);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--gradient-primary);
    color: var(--cream);
    transform: translateY(-3px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: transparent;
    padding-top: 125px;
    padding-bottom: 16px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 78% 50%, rgba(250, 245, 235, 0.95) 0%, rgba(250, 245, 235, 0.72) 22%, rgba(250, 245, 235, 0.32) 40%, rgba(250, 245, 235, 0) 62%);
    z-index: 0;
}

.hero-background::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: var(--gradient-primary);
    border-radius: 50%;
    top: -200px;
    right: -100px;
    opacity: 0.2;
    filter: blur(100px);
    animation: float 20s infinite ease-in-out;
}

.hero-background::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--gradient-3);
    border-radius: 50%;
    bottom: -150px;
    left: -100px;
    opacity: 0.2;
    filter: blur(80px);
    animation: float 15s infinite ease-in-out reverse;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.75rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    color: var(--cream);
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--cream);
    opacity: 0.9;
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo-image {
    width: 92%;
    height: auto;
    max-width: 620px;
    object-fit: contain;
    animation: fadeIn 1s ease-in;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -ms-interpolation-mode: nearest-neighbor;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-font-smoothing: subpixel-antialiased;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(250, 245, 235, 0.5);
    border-radius: 25px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 10px;
    background: var(--white);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

/* ===== Section Headers ===== */
.section-header {
    text-align: center;
    margin-bottom: 2.25rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--cream);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 2.5rem;
    color: var(--accent-color);
}

#pricing .section-subtitle,
#contact .section-subtitle {
    font-size: 1.24rem;
    line-height: 1.7;
}

#contact .section-subtitle {
    font-weight: 600;
}

#contact .section-title {
    color: var(--primary-color);
}

/* ===== Services Section ===== */
.services {
    padding: 80px 0 60px;
    background: transparent;
    position: relative;
}

#pricing {
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 14px;
}

#pricing .section-title {
    font-size: 3.2rem;
}

#pricing .section-header {
    margin-bottom: 0.55rem;
}

#services {
    position: relative;
    background: linear-gradient(180deg, rgba(15, 42, 63, 0.92) 0%, rgba(15, 42, 63, 0.58) 18%, rgba(15, 42, 63, 0) 42%);
    overflow: hidden;
}

#services::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('images/sbwwlogo7.png');
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: contain;
    opacity: 0.40;
    pointer-events: none;
    z-index: 0;
}

#services .container {
    position: relative;
    z-index: 1;
}

.services .container {
    position: relative;
}

.services .section-header {
    margin-bottom: 6rem;
}

.services-grid {
    display: flex;
    gap: 4rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding: 0.5rem 0 1.5rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.services-grid::-webkit-scrollbar {
    display: none;
}

.scroll-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    position: relative;
    z-index: 1;
}

.scroll-btn {
    width: 24px;
    height: 24px;
    border-radius: 0;
    background: transparent;
    color: var(--dark-color);
    border: 1px solid rgba(15, 42, 63, 0.35);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: var(--transition);
    box-shadow: none;
    backdrop-filter: none;
}

.scroll-btn:hover {
    transform: scale(1.1);
    background: transparent;
    border-color: rgba(15, 42, 63, 0.55);
    box-shadow: none;
}

.scroll-dots {
    display: flex;
    gap: 0.4rem;
    justify-content: center;
    margin-top: 0.75rem;
}

.scroll-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(28, 140, 158, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.scroll-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.service-card {
    min-width: 280px;
    flex-shrink: 0;
    scroll-snap-align: start;
    background: var(--cream);
    color: var(--dark-color);
    padding: 1.75rem;
    border-radius: 0;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 2px solid var(--sb-gold);
    box-shadow: 0 0 0 1px rgba(217, 164, 65, 0.25), 0 8px 20px rgba(217, 164, 65, 0.22);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-secondary);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 12px 28px rgba(217, 164, 65, 0.35);
    border-color: var(--sb-gold-light);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 55px;
    height: 55px;
    background: rgba(15, 42, 63, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: rotateY(360deg);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
}

.service-card p {
    color: var(--dark-color);
    opacity: 0.9;
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 0.35rem 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--dark-color);
    font-size: 0.9rem;
}

.service-features i {
    color: var(--gold-light);
    font-size: 0.75rem;
}

/* ===== Condensed Services (Homepage) ===== */
.services-condensed {
    padding: 60px 0;
}

.services-grid-condensed {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 1.5rem;
    margin-bottom: 2rem;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    padding-bottom: 1rem;
}

.services-grid-condensed::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.service-card-condensed {
    background: var(--cream);
    padding: 1.125rem;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: var(--transition);
    border: 2px solid var(--sb-gold);
    box-shadow: 0 0 0 1px rgba(217, 164, 65, 0.25), 0 8px 20px rgba(217, 164, 65, 0.22);
    min-width: 210px;
    min-height: 173px;
    flex-shrink: 0;
}

.service-card-condensed:hover {
    transform: translateY(-5px);
    border-color: var(--sb-gold-light);
    box-shadow: 0 12px 24px rgba(217, 164, 65, 0.35);
}

.service-card-condensed .service-icon {
    width: 50px;
    height: 50px;
    background: rgba(15, 42, 63, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary-color);
    margin: 0 auto 1rem;
    transition: var(--transition);
}

.service-card-condensed:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(15, 42, 63, 0.12);
}

.service-card-condensed h3 {
    font-size: 1.1rem;
    line-height: 1.3;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    min-height: 2.8em;
}

.service-card-condensed p {
    font-size: 0.9rem;
    color: var(--dark-color);
    line-height: 1.5;
    opacity: 0.9;
    margin-top: auto;
}

/* ===== Portfolio Section ===== */
.portfolio {
    padding: 64px 0;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-primary);
    color: var(--cream);
    transform: translateY(-2px);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    background: var(--white);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.portfolio-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    transition: var(--transition);
}

.portfolio-item:hover .placeholder-image {
    transform: scale(1.1);
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.portfolio-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.portfolio-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.portfolio-tags span {
    padding: 5px 12px;
    background: var(--light-color);
    color: var(--primary-color);
    border-radius: 15px;
    font-size: 0.875rem;
    font-weight: 600;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(28, 140, 158, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-link {
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    transform: scale(0);
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-link {
    transform: scale(1);
}

/* ===== Pricing Section ===== */
.pricing-section {
    margin-top: 60px;
    padding-top: 40px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    max-width: 1120px;
    margin: 0 auto;
    align-items: stretch;
}

.pricing-card {
    background: var(--white);
    border-radius: 20px;
    padding: 1.6rem;
    position: relative;
    transition: var(--transition);
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border: 2px solid #D9A441;
}

.pricing-card.featured {
    background: var(--gradient-primary);
    color: var(--cream);
    transform: none;
}

.pricing-card.featured:hover {
    transform: translateY(-6px);
}

.pricing-header {
    text-align: center;
    margin-bottom: 1rem;
}

.pricing-header h3 {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

.pricing-card.featured h3 {
    color: var(--cream);
}

.price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 5px;
}

.currency {
    font-size: 1.15rem;
    font-weight: 600;
    margin-top: 8px;
}

.amount {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
}

.period {
    font-size: 0.9rem;
    color: var(--text-light);
    align-self: flex-end;
    margin-bottom: 8px;
}

.pricing-card.featured .period {
    color: rgba(250, 245, 235, 0.85);
}

.pricing-features {
    list-style: none;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.pricing-features li {
    padding: 0.35rem 0;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--light-color);
    font-size: 0.82rem;
}

.pricing-features.is-collapsed li:nth-child(n+6) {
    display: none;
}

.pricing-read-more {
    background: transparent;
    border: none;
    color: var(--primary-color);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    padding: 0.15rem 0;
    margin: 0.2rem 0 0.65rem;
    align-self: flex-start;
}

.pricing-card.featured .pricing-read-more {
    color: var(--cream);
}

.pricing-logo-btn {
    width: 100%;
    justify-content: center;
    padding: 0.2rem 0;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0;
}

.pricing-logo-btn::before {
    display: none;
}

.pricing-logo-btn img {
    width: 78px;
    height: auto;
    object-fit: contain;
}

.pricing-logo-btn:hover {
    transform: translateY(-2px);
}

.pricing-card.featured .pricing-features li {
    border-bottom-color: rgba(250, 245, 235, 0.2);
}

.pricing-features li i {
    color: var(--secondary-color);
}

.pricing-features li.disabled {
    opacity: 0.5;
}

.pricing-features li.disabled i {
    color: var(--text-light);
}

/* ===== Contact Section ===== */
.contact {
    padding: 36px 0;
    position: relative;
    overflow: hidden;
}

#contact::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('images/sbwwlogo2.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 60% auto;
    opacity: 0.20;
    pointer-events: none;
    z-index: 0;
}

#contact .container {
    position: relative;
    z-index: 1;
}

.contact-compact {
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
}

.contact-info-inline {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--gradient-primary);
    color: var(--dark-color);
    border-radius: 50px;
    transition: var(--transition);
    font-size: 0.95rem;
}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.contact-item i {
    font-size: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.4rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--gradient-secondary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cream);
    font-size: 1.25rem;
    transition: var(--transition);
}

.social-link:hover {
    transform: translateY(-5px) rotate(10deg);
    box-shadow: var(--shadow-md);
}

.contact-form-compact {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

#contact .contact-form-compact .btn-primary {
    color: var(--dark-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea,
.contact-form-compact input,
.contact-form-compact textarea {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 2px solid var(--light-color);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
}

.contact-form-compact .form-row input,
.contact-form-compact input[type="text"],
.contact-form-compact input[type="email"],
.contact-form-compact input[type="tel"] {
    min-height: 48px;
}

.form-group input:focus,
.form-group textarea:focus,
.contact-form-compact input:focus,
.contact-form-compact textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(28, 140, 158, 0.1);
}

.form-group textarea,
.contact-form-compact textarea {
    resize: vertical;
    min-height: 100px;
}

.error-message {
    display: none;
    color: var(--primary-color);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.form-group.error .error-message {
    display: block;
}

.form-group.error input,
.form-group.error textarea {
    border-color: var(--primary-color);
}

.form-status {
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.form-status.success {
    display: block;
    background: #d4edda;
    color: #155724;
}

.form-status.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
}

/* ===== Footer ===== */
.footer {
    background: transparent;
    color: var(--dark-color);
    padding: 2rem 0;
}

.footer-minimal {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'League Spartan', sans-serif;
}

.footer-logo img {
    width: 96px;
    height: 96px;
}

.footer-copyright {
    color: rgba(15, 42, 63, 0.7);
    font-family: inherit;
    font-size: 0.78rem;
    margin: 0;
}

.footer .social-links {
    margin-bottom: 0;
    justify-content: center;
}

.footer .social-link {
    width: 34px;
    height: 34px;
    font-size: 0.95rem;
    border-radius: 8px;
}

/* ===== Back to Top Button ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--cream);
    border: none;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* ===== Modal ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(15, 42, 63, 0.95);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: var(--cream);
    margin: 5% auto;
    padding: 3rem;
    border-radius: 20px;
    max-width: 700px;
    position: relative;
    animation: slideDown 0.4s ease-out;
    box-shadow: var(--shadow-lg);
}

.modal-content h2 {
    color: var(--dark-color);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-family: 'League Spartan', sans-serif;
}

.story-content p {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.story-content .story-closing {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.2rem;
    margin-top: 2rem;
    font-style: italic;
}

.story-logo {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--light-color);
    display: flex;
    justify-content: center;
}

.story-logo img {
    width: 150px;
    height: auto;
    opacity: 0.9;
    display: block;
}

.close {
    position: absolute;
    right: 2rem;
    top: 2rem;
    color: var(--text-color);
    font-size: 2.5rem;
    font-weight: 300;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
}

.close:hover,
.close:focus {
    color: var(--primary-color);
    transform: rotate(90deg);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .modal-content {
        margin: 10% 20px;
        padding: 2rem;
    }
    
    .modal-content h2 {
        font-size: 2rem;
    }
    
    .story-content p {
        font-size: 1rem;
    }
}

/* ===== Animations ===== */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes scroll {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, 20px);
        opacity: 0;
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease-in;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-in 0.3s both;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease-in 0.6s both;
}

.animate-slide-in {
    animation: slideIn 1s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-background {
        background: transparent;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        display: none;
    }
    
    .contact-info-inline {
        flex-direction: column;
        gap: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(15, 42, 63, 0.98);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        justify-content: center;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-container {
        justify-content: space-between;
    }

    .section-title {
        font-size: 2rem;
    }

    #pricing .section-title {
        font-size: 2.5rem;
    }
    
    .services {
        padding: 40px 0;
    }

    .services-grid {
        gap: 1rem;
    }
    
    .service-card {
        min-width: 260px;
        padding: 1.5rem;
    }
    
    .scroll-controls {
        display: none;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .footer-minimal {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .service-card-condensed {
        min-width: 195px;
        padding: 0.94rem;
    }
    
    .service-card-condensed h3 {
        font-size: 1rem;
    }
    
    .service-card-condensed p {
        font-size: 0.85rem;
    }

    #pricing .section-title {
        font-size: 2.2rem;
    }
}