/*
Theme Name: Kinti
Theme URI: https://example.com/kinti
Author: Your Name
Author URI: https://example.com
Description: Un tema WordPress moderno e personalizzato chiamato Kinti
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kinti
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* Font Faces - Google Fonts */
/* Montserrat per titoli moderni ed eleganti */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500;1,600;1,700&display=swap');

/* Inter per testo corpo professionale e leggibile */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Color Palette */
:root {
    /* Primary Colors - Logo Palette */
    --color-blue-dark: #2B3D8B;
    --color-cyan: #32A9DE;
    --color-purple: #602563;
    --color-magenta: #E52D7D;
    --color-red-orange: #E64C34;
    --color-orange: #EE9D3D;
    --color-coral: #E8563B;
    --color-orange-light: #EE7F3D;
    
    /* Base Colors */
    --color-white: #FFFFFF;
    --color-black: #1a1a1a;
    --color-gray-dark: #333333;
    --color-gray: #666666;
    --color-gray-light: #e0e0e0;
    --color-gray-lighter: #f9f9f9;
    
    /* Functional Colors */
    --color-primary: var(--color-blue-dark);
    --color-secondary: var(--color-cyan);
    --color-accent: var(--color-magenta);
    --color-highlight: var(--color-orange);
    --color-text: var(--color-gray-dark);
    --color-background: var(--color-white);
    
    /* Typography */
    --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
}

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

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-background);
    font-weight: 400;
    letter-spacing: 0.01em;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--color-black);
    letter-spacing: -0.02em;
}

h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
}

h3 {
    font-size: 1.75rem;
    font-weight: 700;
}

h4 {
    font-size: 1.5rem;
    font-weight: 600;
}

h5 {
    font-size: 1.25rem;
    font-weight: 500;
}

h6 {
    font-size: 1rem;
    font-weight: 500;
}

.site-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background: #ffffff99;
    color: #050505;
    padding: 0;
    box-shadow: none;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
    background: #FFFFFF;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 20px 0;
    cursor: pointer;
    z-index: 1001;
}

/* Mobile Header Logo */
.mobile-header-logo {
    display: none;
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 30px;
}

.hamburger-icon .bar {
    width: 100%;
    height: 3px;
    background-color: #050505;
    transition: all 0.3s ease;
    border-radius: 0;
}

.mobile-menu-toggle.active .hamburger-icon .bar:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active .hamburger-icon .bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-icon .bar:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Desktop Navigation */
.main-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 20px 0;
}

.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-right {
    gap: 30px;
}

.nav-menu li {
    animation: fadeInDown 0.6s ease forwards;
    opacity: 0;
}

.nav-menu li:not(.contact-btn-wrapper) {
    position: relative;
    flex-shrink: 0;
}

.nav-menu li:nth-child(1) { animation-delay: 0.1s; }
.nav-menu li:nth-child(2) { animation-delay: 0.2s; }
.nav-menu li:nth-child(3) { animation-delay: 0.3s; }
.nav-menu li:nth-child(4) { animation-delay: 0.4s; }
.nav-menu li:nth-child(5) { animation-delay: 0.5s; }
.nav-menu li:nth-child(6) { animation-delay: 0.6s; }
.nav-menu li:nth-child(7) { animation-delay: 0.7s; }

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-left {
    justify-content: flex-start;
}

.nav-left a:not(.btn-contact) {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-right {
    justify-content: flex-end;
}

.nav-right a:not(.btn-contact) {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-menu a:not(.btn-contact) {
    color: #050505;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 0;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    font-size: 1rem;
    white-space: nowrap;
    position: relative;
    display: inline-block;
    contain: layout style;
}

.nav-menu a:not(.btn-contact):hover,
.nav-menu a:not(.btn-contact):focus {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 50%, var(--color-magenta) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* Center Logo */
.site-logo {
    flex-shrink: 0;
    padding: 0 20px;
}

.site-logo {
    animation: fadeIn 0.8s ease 0.2s forwards;
    opacity: 0;
}

.site-logo a {
    display: block;
    transition: transform 0.3s ease;
}

.site-logo a:hover {
    transform: scale(1.05) rotate(2deg);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.site-logo img {
    height: 60px;
    width: auto;
    display: block;
}

/* Contact Button */
.nav-right li:last-child {
    margin-left: 20px;
}

.contact-btn-wrapper {
    margin: 0;
    position: relative;
    z-index: 10;
    flex-shrink: 0;
    isolation: isolate;
    pointer-events: auto;
}

.btn-contact {
    background: linear-gradient(135deg, var(--color-magenta) 0%, var(--color-coral) 100%);
    color: var(--color-white) !important;
    padding: 12px 28px !important;
    border-radius: 0 !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px rgba(229, 45, 125, 0.3);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1), background 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    overflow: hidden;
    will-change: transform;
    pointer-events: auto;
    display: inline-block;
}

.btn-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn-contact:hover::before {
    left: 100%;
}

.btn-contact:hover,
.btn-contact:focus {
    background: linear-gradient(135deg, var(--color-coral) 0%, var(--color-magenta) 100%) !important;
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 6px 20px rgba(229, 45, 125, 0.4) !important;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-purple) 100%);
    z-index: 999;
    padding: 80px 40px 40px;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-logo {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.mobile-menu.active .mobile-logo {
    opacity: 1;
    transform: scale(1);
    transition-delay: 0.05s;
}

.mobile-logo img {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
}

.mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-menu li {
    margin-bottom: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.mobile-menu.active .mobile-nav-menu li {
    opacity: 1;
    transform: translateX(0);
}

.mobile-menu.active .mobile-nav-menu li:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-nav-menu li:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active .mobile-nav-menu li:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-nav-menu li:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.active .mobile-nav-menu li:nth-child(5) { transition-delay: 0.3s; }
.mobile-menu.active .mobile-nav-menu li:nth-child(6) { transition-delay: 0.35s; }
.mobile-menu.active .mobile-nav-menu li:nth-child(7) { transition-delay: 0.4s; }

.mobile-nav-menu a {
    display: block;
    color: var(--color-white);
    text-decoration: none;
    padding: 18px 20px;
    font-size: 1.2rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mobile-nav-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    padding-left: 30px;
    color: var(--color-orange-light);
}

.mobile-nav-menu .contact-btn-wrapper {
    border: none;
    margin-top: 20px;
}

.mobile-nav-menu .btn-contact {
    display: block;
    text-align: center;
    margin: 0 auto;
    max-width: 250px;
}

/* Responsive Navigation */
@media (max-width: 1200px) {
    .nav-menu {
        gap: 20px;
    }
    
    .nav-menu a:not(.btn-contact) {
        padding: 8px 12px;
        font-size: 0.95rem;
    }
    
    .site-logo img {
        height: 50px;
    }
}

@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-navigation {
        display: none;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .header-container {
        padding: 0 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .site-logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .site-logo img {
        height: 45px;
    }
    
    .mobile-header-logo {
        display: block;
        flex: 1;
        text-align: center;
    }
    
    .mobile-header-logo img {
        height: 40px;
        width: auto;
    }
}

/* Current Page Highlight */
.nav-menu a.current-page {
    background-color: rgba(5, 5, 5, 0.08);
    color: var(--color-primary);
}

.mobile-nav-menu a.current-page {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--color-orange-light);
}

.current-menu-item > a {
    background-color: rgba(5, 5, 5, 0.08);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    max-height: 900px;
    overflow: hidden;
    background: var(--color-black);
    margin-top: -100px;
    padding-top: 0;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Slider Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    font-size: 36px;
    font-weight: 300;
    color: #FFFFFF;
    line-height: 1;
    padding: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.6);
    border-color: var(--color-white);
    transform: translateY(-50%) scale(1.15);
    color: var(--color-primary);
}

.slider-prev {
    left: 30px;
}

.slider-next {
    right: 30px;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.dot.active {
    width: 40px;
    height: 12px;
    border-radius: 0;
    background: linear-gradient(90deg, 
        var(--color-blue-dark) 0%, 
        var(--color-cyan) 50%, 
        var(--color-orange) 100%);
    border-color: var(--color-white);
}

/* Responsive Slider */
@media screen and (max-width: 768px) {
    .hero-slider {
        height: 70vh;
        min-height: 500px;
        margin-top: -80px;
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
    }
    
    .slider-prev {
        left: 15px;
    }
    
    .slider-next {
        right: 15px;
    }
    
    .slider-dots {
        bottom: 20px;
        gap: 8px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
    
    .dot.active {
        width: 30px;
        height: 10px;
    }
}

/* Contact Bar */
.contact-bar {
    background: var(--color-gray-light);
    padding: 20px 0;
    position: relative;
    z-index: 100;
}

.contact-bar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.contact-bar-logo {
    flex-shrink: 0;
}

.contact-bar-logo img {
    height: 50px;
    width: auto;
    display: block;
}

.contact-bar-cta {
    flex-grow: 1;
    text-align: center;
}

.btn-schedule {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--color-white);
    text-decoration: none;
    letter-spacing: 1px;
    padding: 14px 40px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border-radius: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(43, 61, 139, 0.3);
}

.btn-schedule:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(43, 61, 139, 0.5);
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
}

.contact-bar-phone {
    flex-shrink: 0;
}

.contact-bar-phone a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-gray-dark);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.contact-bar-phone svg {
    flex-shrink: 0;
    stroke: var(--color-gray-dark);
}

.contact-bar-phone a:hover {
    color: var(--color-primary);
}

.contact-bar-phone a:hover svg {
    stroke: var(--color-primary);
}

/* Responsive Contact Bar */
@media screen and (max-width: 992px) {
    .contact-bar-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .contact-bar-logo {
        order: 1;
    }
    
    .contact-bar-cta {
        order: 2;
    }
    
    .contact-bar-phone {
        order: 3;
    }
    
    .btn-schedule {
        font-size: 1rem;
        padding: 12px 32px;
    }
    
    .contact-bar-phone a {
        font-size: 0.95rem;
    }
}

@media screen and (max-width: 576px) {
    .contact-bar {
        padding: 15px 0;
    }
    
    .contact-bar-container {
        padding: 0 20px;
        gap: 15px;
    }
    
    .contact-bar-logo img {
        height: 40px;
    }
    
    .btn-schedule {
        font-size: 0.9rem;
        padding: 10px 24px;
    }
    
    .contact-bar-phone a {
        font-size: 0.85rem;
    }
    
    .contact-bar-phone svg {
        width: 16px;
        height: 16px;
    }
}

/* Intro Section */
.intro-section {
    background: var(--color-white);
    padding: 80px 0;
    position: relative;
}

.intro-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.intro-label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.intro-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-red-orange);
    margin: 0;
}

.intro-text-secondary {
    padding-top: 10px;
}

.intro-description {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-gray);
    margin-bottom: 20px;
}

.intro-tagline {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-gray-dark);
    margin-top: 30px;
    font-weight: 500;
    font-style: italic;
}

/* Responsive Intro Section */
@media screen and (max-width: 992px) {
    .intro-section {
        padding: 60px 0;
    }
    
    .intro-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .intro-title {
        font-size: 2rem;
    }
}

@media screen and (max-width: 576px) {
    .intro-section {
        padding: 40px 0;
    }
    
    .intro-container {
        padding: 0 20px;
    }
    
    .intro-label {
        font-size: 0.75rem;
        letter-spacing: 1.5px;
    }
    
    .intro-title {
        font-size: 1.75rem;
    }
    
    .intro-description {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .intro-tagline {
        font-size: 1rem;
        margin-top: 20px;
    }
}

/* Main Content */
.site-main {
    padding: 40px 0;
    min-height: 60vh;
}

/* Posts */
.post,
.page {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 2px solid var(--color-gray-light);
}

.entry-title {
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.3;
}

.entry-title a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.entry-title a:hover {
    color: var(--color-secondary);
}

.entry-meta {
    font-size: 0.85rem;
    color: var(--color-gray);
    margin-bottom: 20px;
}

.entry-meta a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.entry-meta a:hover {
    color: var(--color-magenta);
}

.entry-content {
    margin-top: 30px;
    line-height: 1.8;
    font-size: 17px;
    color: var(--color-text);
}

.entry-content > * {
    margin-bottom: 1.5em;
}

.entry-content > *:last-child {
    margin-bottom: 0;
}

/* Typography */
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-primary);
    margin-top: 2em;
    margin-bottom: 0.8em;
}

.entry-content h1:first-child,
.entry-content h2:first-child,
.entry-content h3:first-child,
.entry-content h4:first-child,
.entry-content h5:first-child,
.entry-content h6:first-child {
    margin-top: 0;
}

.entry-content h1 {
    font-size: 2.5em;
}

.entry-content h2 {
    font-size: 2em;
    border-bottom: 3px solid var(--color-orange-light);
    padding-bottom: 0.3em;
}

.entry-content h3 {
    font-size: 1.6em;
}

.entry-content h4 {
    font-size: 1.3em;
}

.entry-content h5 {
    font-size: 1.1em;
}

.entry-content h6 {
    font-size: 1em;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.entry-content p {
    margin-bottom: 1.5em;
}

/* Images */
.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0;
    margin: 1.5em 0;
}

.entry-content figure {
    margin: 2em 0;
}

.entry-content figcaption {
    font-size: 0.9em;
    font-style: italic;
    color: var(--color-gray);
    margin-top: 0.5em;
    text-align: center;
}

/* Links */
.entry-content a {
    color: var(--color-secondary);
    text-decoration: underline;
    text-decoration-color: var(--color-orange-light);
    text-decoration-thickness: 2px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.entry-content a:hover {
    color: var(--color-magenta);
    text-decoration-color: var(--color-magenta);
}

/* Lists */
.entry-content ul,
.entry-content ol {
    margin: 1.5em 0;
    padding-left: 2em;
}

.entry-content ul li,
.entry-content ol li {
    margin-bottom: 0.5em;
    line-height: 1.8;
}

.entry-content ul {
    list-style-type: none;
}

.entry-content ul li::before {
    content: "▪";
    color: var(--color-orange-light);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
    font-size: 1.2em;
}

.entry-content ol {
    counter-reset: item;
}

.entry-content ol li {
    counter-increment: item;
    position: relative;
}

.entry-content ol li::marker {
    color: var(--color-secondary);
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
}

/* Blockquote */
.entry-content blockquote {
    margin: 2em 0;
    padding: 1.5em 2em;
    border-left: 5px solid var(--color-orange-light);
    background-color: #f9f9f9;
    font-style: italic;
    font-size: 1.1em;
    color: var(--color-gray-dark);
}

.entry-content blockquote p:last-child {
    margin-bottom: 0;
}

.entry-content blockquote cite {
    display: block;
    margin-top: 1em;
    font-size: 0.9em;
    font-style: normal;
    color: var(--color-gray);
}

.entry-content blockquote cite::before {
    content: "— ";
}

/* Code */
.entry-content code {
    background-color: #f4f4f4;
    padding: 0.2em 0.4em;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    border: 1px solid #e0e0e0;
}

.entry-content pre {
    background-color: #f4f4f4;
    padding: 1.5em;
    overflow-x: auto;
    margin: 1.5em 0;
    border: 1px solid #e0e0e0;
    line-height: 1.6;
}

.entry-content pre code {
    background-color: transparent;
    padding: 0;
    border: none;
}

/* Tables */
.entry-content table {
    width: 100%;
    margin: 2em 0;
    border-collapse: collapse;
    font-size: 0.95em;
}

.entry-content table thead {
    background-color: var(--color-primary);
    color: white;
}

.entry-content table th,
.entry-content table td {
    padding: 12px 15px;
    text-align: left;
    border: 1px solid #e0e0e0;
}

.entry-content table th {
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
}

.entry-content table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.entry-content table tbody tr:hover {
    background-color: #f0f0f0;
}

/* Horizontal Rule */
.entry-content hr {
    border: none;
    border-top: 2px solid var(--color-gray-light);
    margin: 2.5em 0;
}

/* Emphasis */
.entry-content strong,
.entry-content b {
    font-weight: 700;
    color: var(--color-primary);
}

.entry-content em,
.entry-content i {
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .entry-content {
        font-size: 16px;
    }
    
    .entry-content h1 {
        font-size: 2em;
    }
    
    .entry-content h2 {
        font-size: 1.6em;
    }
    
    .entry-content h3 {
        font-size: 1.4em;
    }
    
    .entry-content blockquote {
        padding: 1em 1.5em;
        font-size: 1em;
    }
    
    .entry-content ul,
    .entry-content ol {
        padding-left: 1.5em;
    }
    
    .entry-content table {
        font-size: 0.85em;
    }
    
    .entry-content table th,
    .entry-content table td {
        padding: 8px 10px;
    }
}

/* Entry Footer */
.entry-footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--color-gray-light);
    font-size: 0.9rem;
}

.entry-footer span {
    margin-right: 15px;
}

.cat-links a,
.tags-links a,
.comments-link a,
.edit-link a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.cat-links a:hover,
.tags-links a:hover,
.comments-link a:hover,
.edit-link a:hover {
    color: var(--color-coral);
}

/* Post Navigation */
.post-navigation,
.posts-navigation {
    margin: 40px 0;
    padding: 20px 0;
    border-top: 2px solid var(--color-gray-light);
    border-bottom: 2px solid var(--color-gray-light);
}

.nav-links {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.nav-previous a,
.nav-next a {
    color: var(--color-primary);
    text-decoration: none;
    padding: 10px 20px;
    border: 2px solid var(--color-secondary);
    border-radius: 0;
    transition: all 0.3s ease;
    display: inline-block;
}

.nav-previous a:hover,
.nav-next a:hover {
    background-color: var(--color-secondary);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(50, 169, 222, 0.3);
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-purple) 100%);
    color: var(--color-white);
    padding: 60px 0 20px;
    margin-top: 80px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-logo {
    grid-column: 1 / -1;
    text-align: center;
    margin-bottom: 30px;
}

.footer-logo img {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-section h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-white);
    letter-spacing: 1px;
}

.footer-section h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
    margin-top: 20px;
    color: var(--color-orange-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-section p {
    margin-bottom: 10px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-info-group {
    margin-top: 20px;
}

.footer-info-group:first-child h4 {
    margin-top: 0;
}

.footer-section a {
    color: var(--color-white);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-section a:hover {
    color: var(--color-orange-light);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Responsive Footer */
@media screen and (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-company {
        grid-column: 1 / -1;
    }
}

@media screen and (max-width: 576px) {
    .site-footer {
        padding: 40px 0 20px;
        margin-top: 40px;
    }
    
    .footer-container {
        padding: 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 30px;
        padding-bottom: 30px;
    }
    
    .footer-company {
        grid-column: 1;
    }
    
    .footer-section h3 {
        font-size: 1.3rem;
    }
    
    .footer-section h4 {
        font-size: 0.95rem;
    }
    
    .footer-section p {
        font-size: 0.9rem;
    }
}

/* Comments */
.comments-area {
    margin-top: 40px;
    padding: 30px;
    background-color: var(--color-gray-lighter);
    border-radius: 0;
}

.comments-title {
    color: var(--color-primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--color-secondary);
}

.comment-list {
    list-style: none;
}

.comment {
    margin-bottom: 20px;
    padding: 20px;
    background-color: var(--color-white);
    border-radius: 0;
    border-left: 4px solid var(--color-secondary);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.comment-author {
    font-weight: 700;
    color: var(--color-primary);
}

.comment-metadata a {
    color: var(--color-gray);
    text-decoration: none;
    font-size: 0.85rem;
}

.comment-metadata a:hover {
    color: var(--color-secondary);
}

.reply a {
    display: inline-block;
    padding: 5px 15px;
    background-color: var(--color-cyan);
    color: var(--color-white);
    text-decoration: none;
    border-radius: 0;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.reply a:hover {
    background-color: var(--color-magenta);
    transform: translateY(-1px);
}

/* Comment Form */
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid var(--color-gray-light);
    border-radius: 0;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
}

.comment-form input[type="submit"] {
    background: linear-gradient(135deg, var(--color-magenta) 0%, var(--color-coral) 100%);
    color: var(--color-white);
    padding: 12px 30px;
    border: none;
    border-radius: 0;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.comment-form input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(229, 45, 125, 0.4);
}

/* Widgets */
.widget {
    margin-bottom: 30px;
    padding: 20px;
    background-color: var(--color-gray-lighter);
    border-radius: 0;
}

.widget-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--color-primary);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-orange);
    font-weight: 700;
}

.widget ul {
    list-style: none;
}

.widget li {
    padding: 8px 0;
    border-bottom: 1px solid var(--color-gray-light);
}

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

.widget a {
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Search Form */
.search-form {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.search-field {
    flex: 1;
    padding: 10px 15px;
    border: 2px solid var(--color-gray-light);
    border-radius: 0;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.search-field:focus {
    outline: none;
    border-color: var(--color-secondary);
}

.search-submit {
    padding: 10px 25px;
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-cyan) 100%);
    color: var(--color-white);
    border: none;
    border-radius: 0;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(50, 169, 222, 0.3);
}

/* Buttons & Links */
button,
.button,
input[type="button"],
input[type="submit"] {
    background: linear-gradient(135deg, var(--color-magenta) 0%, var(--color-coral) 100%);
    color: var(--color-white);
    padding: 12px 24px;
    border: none;
    border-radius: 0;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover,
.button:hover,
input[type="button"]:hover,
input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(229, 45, 125, 0.4);
}

/* Page Header */
.page-header {
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(43, 61, 139, 0.05) 0%, rgba(50, 169, 222, 0.05) 100%);
    border-left: 5px solid var(--color-secondary);
    border-radius: 0;
}

.page-title {
    color: var(--color-primary);
    margin: 0;
    font-weight: 700;
}

.archive-description {
    margin-top: 10px;
    color: var(--color-gray);
}

/* Responsive */
@media (max-width: 768px) {
    .main-navigation ul {
        flex-direction: column;
        gap: 10px;
    }
    
    .entry-title {
        font-size: 1.5rem;
    }
    
    .site-title {
        font-size: 1.5rem;
    }
    
    .nav-links {
        flex-direction: column;
    }
    
    .search-form {
        flex-direction: column;
    }
    
    .search-field,
    .search-submit {
        width: 100%;
    }
}

/* Post Thumbnail */
.post-thumbnail {
    margin: 20px 0;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.post-thumbnail img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.post-thumbnail:hover img {
    transform: scale(1.05);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 40px 0;
}

.page-numbers {
    padding: 10px 15px;
    background-color: var(--color-white);
    border: 2px solid var(--color-secondary);
    color: var(--color-primary);
    text-decoration: none;
    border-radius: 0;
    transition: all 0.3s ease;
}

.page-numbers:hover,
.page-numbers.current {
    background-color: var(--color-secondary);
    color: var(--color-white);
    transform: translateY(-2px);
}

/* Screen Reader Text */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: var(--color-gray-lighter);
    border-radius: 0;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: var(--color-primary);
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Skip Link */
.skip-link {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 10px 20px;
}

.skip-link:hover,
.skip-link:focus {
    background-color: var(--color-secondary);
}

/* Alignments */
.alignleft {
    float: left;
    margin-right: 20px;
    margin-bottom: 10px;
}

.alignright {
    float: right;
    margin-left: 20px;
    margin-bottom: 10px;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Clearfix */
.clearfix::after,
.entry-content::after,
.comment-content::after,
.site-header::after,
.site-content::after,
.site-footer::after {
    content: "";
    display: table;
    clear: both;
}

/* Logo */
.custom-logo-link {
    display: inline-block;
    margin-bottom: 10px;
}

.custom-logo {
    max-height: 80px;
    width: auto;
    transition: transform 0.3s ease;
}

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

/* Error 404 Page */
.error-404 .page-header {
    background: linear-gradient(135deg, rgba(229, 45, 125, 0.1) 0%, rgba(238, 125, 61, 0.1) 100%);
    border-left-color: var(--color-magenta);
}

/* Utility Classes */
.text-primary {
    color: var(--color-primary);
}

.text-secondary {
    color: var(--color-secondary);
}

.text-accent {
    color: var(--color-accent);
}

.bg-light {
    background-color: var(--color-gray-lighter);
}

.border-accent {
    border-color: var(--color-accent);
}

/* Accessibility Improvements */
*:focus {
    outline: 2px solid var(--color-secondary);
    outline-offset: 2px;
}

a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--color-secondary);
    outline-offset: 2px;
}

/* ============================================
   PAGE TEMPLATES STYLES
   ============================================ */

/* Common Page Styles */
.page-subtitle {
    font-size: 1.2rem;
    color: var(--color-gray);
    margin-top: 10px;
    text-align: center;
}

.featured-image {
    margin: 30px 0;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* About Us Page */
.about-section {
    margin: 50px 0;
    padding: 40px 0;
}

.about-section h2 {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.about-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-magenta));
    border-radius: 0;
}

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

.value-item {
    padding: 30px;
    background: var(--color-gray-lighter);
    border-radius: 0;
    border-left: 4px solid var(--color-secondary);
    transition: all 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-left-color: var(--color-magenta);
}

.value-item h3 {
    color: var(--color-primary);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

/* Services Page */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: var(--color-white);
    padding: 40px 30px;
    border-radius: 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--color-gray);
    line-height: 1.7;
}

/* Testimonials Page */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: var(--color-white);
    padding: 35px;
    border-radius: 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-content {
    margin-bottom: 25px;
}

.testimonial-content p {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--color-gray-dark);
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.author-info h4 {
    color: var(--color-primary);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.author-info p {
    color: var(--color-gray);
    font-size: 0.9rem;
}

/* Process Page */
.process-steps {
    margin-top: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.process-step {
    display: flex;
    gap: 25px;
    margin: 30px 0;
    align-items: flex-start;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.step-content h3 {
    color: var(--color-primary);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.step-content p {
    color: var(--color-gray);
    line-height: 1.7;
}

.process-connector {
    width: 2px;
    height: 40px;
    background: linear-gradient(180deg, var(--color-secondary), var(--color-magenta));
    margin: 10px 0 10px 29px;
}

/* Portfolio Page */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.portfolio-item {
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.portfolio-image {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.portfolio-overlay {
    background: rgba(0, 0, 0, 0.7);
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
    text-align: center;
}

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

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

.portfolio-overlay p {
    font-size: 1rem;
    opacity: 0.9;
}

/* Contact Page */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

.contact-form-section h2,
.contact-info-section h2 {
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-bottom: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--color-gray-dark);
    font-size: 0.95rem;
}

.required {
    color: var(--color-coral);
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid var(--color-gray-light);
    border-radius: 0;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-secondary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(50, 169, 222, 0.1);
}

.btn-submit {
    background: linear-gradient(135deg, var(--color-magenta), var(--color-coral));
    color: var(--color-white);
    padding: 15px 40px;
    border: none;
    border-radius: 0;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(229, 45, 125, 0.3);
    align-self: flex-start;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(229, 45, 125, 0.4);
}

.contact-info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.info-icon {
    width: 50px;
    height: 50px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-content h3 {
    color: var(--color-primary);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.info-content p,
.info-content a {
    color: var(--color-gray);
    line-height: 1.6;
}

.info-content a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-content a:hover {
    color: var(--color-secondary);
}

/* Contact Form Messages */
.contact-message {
    padding: 15px 20px;
    border-radius: 0;
    margin-bottom: 25px;
    font-weight: 500;
    animation: slideIn 0.3s ease;
}

.contact-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.contact-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles for Page Templates */
@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .portfolio-grid,
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .process-step {
        flex-direction: column;
        gap: 15px;
    }
    
    .process-connector {
        margin-left: 29px;
        height: 30px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .about-section h2,
    .contact-form-section h2,
    .contact-info-section h2 {
        font-size: 1.5rem;
    }
}
