:root {
 --primary-color: #0056b3; /* Darker Blue */
 --secondary-color: #007bff; /* Bright Blue */
 --accent-color: #28a745; /* Green for CTA/Highlight */
 --dark-text: #343a40; /* Dark Grey */
 --light-text: #6c757d; /* Medium Grey */
 --background-light: #f8f9fa; /* Light Grey Background */
 --background-dark: #e9ecef; /* Slightly darker grey background */
 --white-color: #ffffff;
 --border-color: #dee2e6;
 --shadow-light: rgba(0, 0, 0, 0.08);
 --shadow-medium: rgba(0, 0, 0, 0.15);
 --transition-speed: 0.3s ease-in-out;
 --border-radius: 8px;
}

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

html {
 scroll-behavior: smooth;
}

body {
 font-family: 'Roboto', sans-serif;
 line-height: 1.6;
 color: var(--dark-text);
 background: var(--white-color);
}

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

a {
 text-decoration: none;
 color: var(--secondary-color);
 transition: color var(--transition-speed);
}

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

ul {
 list-style: none;
}

h1, h2, h3, h4, h5, h6 {
 font-family: 'Montserrat', sans-serif;
 color: var(--dark-text);
 margin-bottom: 0.8em;
}

h1 {
 font-size: 2.8em;
 font-weight: 700;
}

h2 {
 font-size: 2.2em;
 font-weight: 600;
 text-align: center;
 margin-bottom: 1em;
}

h3 {
 font-size: 1.6em;
 font-weight: 600;
}

p {
 margin-bottom: 1em;
}

.section {
 padding: 60px 0;
 opacity: 0;
 transform: translateY(20px);
 transition: opacity 0.6s var(--transition-speed), transform 0.6s var(--transition-speed);
}

.section.animate {
 opacity: 1;
 transform: translateY(0);
}

.section-title {
 margin-bottom: 10px;
}

.section-subtitle {
 text-align: center;
 color: var(--light-text);
 font-size: 1.1em;
 margin-bottom: 30px;
 max-width: 800px;
 margin-left: auto;
 margin-right: auto;
}

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

.darker-bg {
 background-color: var(--background-dark);
}

.text-center {
 text-align: center;
}

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

/* Buttons */
.btn {
 display: inline-block;
 padding: 12px 25px;
 border-radius: 50px;
 font-weight: 500;
 text-align: center;
 transition: all var(--transition-speed);
 cursor: pointer;
 border: none;
 font-size: 1em;
}

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

.btn-primary:hover {
 background-color: var(--primary-color);
 border-color: var(--primary-color);
 transform: translateY(-2px);
 box-shadow: 0 4px 8px var(--shadow-light);
}

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

.btn-secondary:hover {
 background-color: var(--secondary-color);
 color: var(--white-color);
 transform: translateY(-2px);
 box-shadow: 0 4px 8px var(--shadow-light);
}

.btn-tertiary {
 background-color: var(--background-dark);
 color: var(--dark-text);
 border: 1px solid var(--border-color);
}

.btn-tertiary:hover {
 background-color: var(--border-color);
 transform: translateY(-2px);
 box-shadow: 0 4px 8px var(--shadow-light);
}

/* Header */
header {
 background-color: rgba(255, 255, 255, 0.95);
 padding: 15px 0;
 position: fixed;
 width: 100%;
 top: 0;
 z-index: 1000;
 box-shadow: 0 2px 10px var(--shadow-light);
 transition: background-color var(--transition-speed), padding var(--transition-speed), box-shadow var(--transition-speed);
}

header.scrolled {
 background-color: var(--white-color);
 padding: 10px 0;
 box-shadow: 0 4px 15px var(--shadow-medium);
}

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

.logo {
 font-family: 'Montserrat', sans-serif;
 font-size: 1.8em;
 font-weight: 700;
 color: var(--primary-color);
 letter-spacing: -1px;
 position: relative;
 overflow: hidden;
 padding: 5px 0;
 transition: transform var(--transition-speed);
}

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

.logo::before {
 content: '';
 position: absolute;
 bottom: 0;
 left: 0;
 width: 100%;
 height: 3px;
 background-color: var(--accent-color);
 transform: scaleX(0);
 transform-origin: bottom right;
 transition: transform var(--transition-speed) ease-out;
}

.logo:hover::before {
 transform: scaleX(1);
 transform-origin: bottom left;
}

.nav-links {
 display: flex;
 gap: 30px;
}

.nav-links a {
 font-size: 1.05em;
 font-weight: 500;
 color: var(--dark-text);
 position: relative;
 padding: 5px 0;
 overflow: hidden;
}

.nav-links a::before {
 content: attr(data-text);
 position: absolute;
 top: 0;
 left: 0;
 color: var(--secondary-color);
 transform: translateY(100%);
 transition: transform var(--transition-speed);
}

.nav-links a:hover::before {
 transform: translateY(0);
}

.nav-links a::after {
 content: '';
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background-color: var(--white-color); /* Overlap to hide initial text */
 transform: translateY(0);
 transition: transform var(--transition-speed);
}

.nav-links a:hover::after {
 transform: translateY(-100%);
}

.nav-links a span {
 display: block;
 position: relative;
 z-index: 1;
 transition: transform var(--transition-speed);
}

.nav-links a:hover span {
 transform: translateY(-100%); /* Move original text up */
}

.nav-toggle {
 display: none;
 flex-direction: column;
 justify-content: space-between;
 width: 30px;
 height: 20px;
 background: transparent;
 border: none;
 cursor: pointer;
 padding: 0;
}

.nav-toggle span {
 display: block;
 width: 100%;
 height: 3px;
 background-color: var(--primary-color);
 border-radius: 2px;
 transition: transform 0.3s ease, opacity 0.3s ease;
}

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

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

.nav-toggle.active span:nth-child(3) {
 transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section */
.hero-section {
 background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
 color: var(--white-color);
 padding: 120px 0 80px;
 text-align: center;
 position: relative;
 overflow: hidden;
 display: flex;
 align-items: center;
 min-height: 70vh;
}

.hero-section .container {
 display: flex;
 flex-wrap: wrap;
 justify-content: center;
 align-items: center;
 gap: 40px;
 position: relative;
 z-index: 2;
}

.hero-content {
 flex: 1;
 min-width: 300px;
 max-width: 600px;
 text-align: left;
 transform: translateX(-20px);
 opacity: 0;
 animation: slideInLeft 1s forwards cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
@keyframes slideInLeft {
 to { transform: translateX(0); opacity: 1; }
}

.hero-content h1 {
 color: var(--white-color);
 font-size: 3.5em;
 margin-bottom: 0.4em;
 line-height: 1.1;
}

.hero-content .subtitle {
 font-size: 1.3em;
 opacity: 0.9;
 margin-bottom: 1.5em;
 animation: fadeIn 1.2s forwards cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s;
 opacity: 0;
}

.hero-actions {
 display: flex;
 gap: 20px;
}

.hero-actions .btn {
 padding: 15px 30px;
 font-size: 1.1em;
 animation: fadeIn 1.2s forwards cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.6s;
 opacity: 0;
}

.hero-actions .btn-secondary {
 color: var(--white-color);
 border-color: var(--white-color);
}

.hero-actions .btn-secondary:hover {
 background-color: var(--white-color);
 color: var(--secondary-color);
}

.hero-image {
 flex: 1;
 min-width: 300px;
 max-width: 500px;
 position: relative;
 transform: translateX(20px);
 opacity: 0;
 animation: slideInRight 1s forwards cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
@keyframes slideInRight {
 to { transform: translateX(0); opacity: 1; }
}

.hero-image img {
 max-width: 100%;
 height: auto;
 border-radius: var(--border-radius);
 box-shadow: 0 10px 30px var(--shadow-medium);
}

.hero-bg-overlay {
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg" opacity="0.1"><circle cx="25" cy="25" r="15" fill="%23FFFFFF"/><circle cx="75" cy="75" r="10" fill="%23FFFFFF"/><path d="M50 0 L100 50 L50 100 L0 50 Z" fill="%23FFFFFF" opacity="0.1"/></svg>') repeat;
 background-size: 200px;
 opacity: 0.1;
 z-index: 1;
 animation: rotateBackground 60s linear infinite;
}

@keyframes fadeIn {
 to { opacity: 1; }
}
@keyframes rotateBackground {
 from { transform: rotate(0deg); }
 to { transform: rotate(360deg); }
}

.interactive-element {
 position: absolute;
 border-radius: 50%;
 background: rgba(255, 255, 255, 0.15);
 backdrop-filter: blur(5px);
 pointer-events: none;
 animation: floatElement 10s infinite ease-in-out;
}
.element-1 { top: 10%; left: 5%; width: 50px; height: 50px; animation-delay: 0s; }
.element-2 { bottom: 15%; right: 10%; width: 80px; height: 80px; animation-delay: 2s; }
@keyframes floatElement {
 0% { transform: translate(0, 0) scale(1); opacity: 0.8; }
 50% { transform: translate(20px, 30px) scale(1.1); opacity: 1; }
 100% { transform: translate(0, 0) scale(1); opacity: 0.8; }
}

/* Explore Section */
.explore-section {
 padding-top: 80px;
}

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

.explore-card {
 background-color: var(--white-color);
 padding: 30px;
 border-radius: var(--border-radius);
 box-shadow: 0 5px 20px var(--shadow-light);
 text-align: center;
 border: 1px solid var(--border-color);
 transition: all var(--transition-speed);
 cursor: pointer;
 position: relative;
 overflow: hidden;
}

.explore-card h3 {
 color: var(--primary-color);
 margin-bottom: 15px;
 font-size: 1.4em;
}

.explore-card p {
 color: var(--light-text);
 font-size: 0.95em;
 margin-bottom: 0;
}

.explore-card:hover {
 transform: translateY(-8px) scale(1.02);
 box-shadow: 0 10px 25px var(--shadow-medium);
}

.card-extra-content {
 max-height: 0;
 overflow: hidden;
 transition: max-height 0.4s ease-out, opacity 0.4s ease-out;
 opacity: 0;
 margin-top: 15px;
}

.explore-card.expanded .card-extra-content {
 max-height: 200px; /* Adjust as needed */
 opacity: 1;
}

.explore-card.expanded {
 border-color: var(--secondary-color);
 box-shadow: 0 12px 30px rgba(0, 123, 255, 0.2);
}

.learn-more-btn {
 display: inline-block;
 margin-top: 15px;
 font-size: 0.9em;
 font-weight: 500;
 padding: 8px 15px;
 background-color: var(--background-dark);
 border-radius: 20px;
 color: var(--dark-text);
 border: 1px solid var(--border-color);
}

.learn-more-btn:hover {
 background-color: var(--secondary-color);
 color: var(--white-color);
 border-color: var(--secondary-color);
}

/* How We Work (Process Section) */
.process-section {
 padding: 80px 0;
}

.process-timeline {
 position: relative;
 max-width: 900px;
 margin: 50px auto 0 auto;
 padding: 20px 0;
}

/* Line in the middle */
.process-timeline::before {
 content: '';
 position: absolute;
 left: 50%;
 transform: translateX(-50%);
 width: 2px;
 height: 100%;
 background: var(--border-color);
 z-index: 0;
 opacity: 0;
 animation: drawLine 1s forwards ease-out 0.5s;
}

@keyframes drawLine {
 from { height: 0; opacity: 0; }
 to { height: 100%; opacity: 1; }
}

.timeline-item {
 display: flex;
 position: relative;
 margin-bottom: 60px;
 align-items: center;
 opacity: 0;
 transform: translateY(20px);
 transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.timeline-item.animate {
 opacity: 1;
 transform: translateY(0);
}

.timeline-item:nth-child(odd) {
 flex-direction: row-reverse;
 text-align: right;
}

.timeline-item:nth-child(even) {
 flex-direction: row;
 text-align: left;
}

.timeline-dot {
 width: 20px;
 height: 20px;
 background-color: var(--secondary-color);
 border-radius: 50%;
 position: absolute;
 left: 50%;
 transform: translateX(-50%);
 border: 3px solid var(--white-color);
 box-shadow: 0 0 0 3px var(--secondary-color);
 z-index: 1;
 transition: transform 0.3s ease-out, background-color 0.3s ease-out;
}

.timeline-item:hover .timeline-dot {
 transform: translateX(-50%) scale(1.2);
 background-color: var(--primary-color);
}

.timeline-content {
 flex: 1;
 background-color: var(--white-color);
 padding: 25px;
 border-radius: var(--border-radius);
 box-shadow: 0 5px 15px var(--shadow-light);
 border: 1px solid var(--border-color);
 transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}

.timeline-item:nth-child(odd) .timeline-content {
 margin-right: calc(50% + 40px); /* 50% width + dot size + spacing */
}

.timeline-item:nth-child(even) .timeline-content {
 margin-left: calc(50% + 40px); /* 50% width + dot size + spacing */
}

.timeline-content h3 {
 color: var(--primary-color);
 margin-bottom: 10px;
 font-size: 1.3em;
}

.timeline-content p {
 font-size: 0.95em;
 color: var(--light-text);
 margin-bottom: 0;
}

.timeline-item:hover .timeline-content {
 transform: translateY(-5px);
 box-shadow: 0 8px 20px var(--shadow-medium);
}

/* Testimonials Section */
.testimonials-section {
 background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://picsum.photos/seed/testimonials-bg/1920/1080') no-repeat center center/cover;
 color: var(--white-color);
 padding: 80px 0;
 text-align: center;
 position: relative;
}

.testimonials-section::before {
 content: '';
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background-color: rgba(0, 0, 0, 0.6);
 z-index: 0;
}

.testimonials-section .container {
 position: relative;
 z-index: 1;
}

.testimonials-section .section-title,
.testimonials-section .section-subtitle {
 color: var(--white-color);
}

.testimonial-carousel {
 display: flex;
 overflow: hidden;
 position: relative;
 max-width: 900px;
 margin: 40px auto;
 border-radius: var(--border-radius);
}

.testimonial-item {
 min-width: 100%;
 transition: transform 0.6s ease-in-out;
}

.testimonial-card {
 background-color: rgba(255, 255, 255, 0.1);
 padding: 40px;
 border-radius: var(--border-radius);
 text-align: center;
 box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
 backdrop-filter: blur(5px);
 border: 1px solid rgba(255, 255, 255, 0.2);
 min-height: 300px;
 display: flex;
 flex-direction: column;
 justify-content: center;
 align-items: center;
}

.testimonial-avatar {
 width: 90px;
 height: 90px;
 border-radius: 50%;
 object-fit: cover;
 margin-bottom: 20px;
 border: 3px solid var(--accent-color);
 box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.2);
}

.testimonial-text {
 font-size: 1.15em;
 font-style: italic;
 margin-bottom: 20px;
 line-height: 1.5;
 max-width: 700px;
 color: var(--white-color);
}

.testimonial-author {
 font-weight: 600;
 font-size: 1.1em;
 color: var(--accent-color);
 margin-bottom: 5px;
}

.testimonial-company {
 font-size: 0.95em;
 color: rgba(255, 255, 255, 0.8);
}

.carousel-dots {
 display: flex;
 justify-content: center;
 gap: 10px;
 margin-top: 30px;
}

.carousel-dot {
 width: 12px;
 height: 12px;
 border-radius: 50%;
 background-color: rgba(255, 255, 255, 0.5);
 cursor: pointer;
 transition: background-color var(--transition-speed), transform var(--transition-speed);
}

.carousel-dot.active {
 background-color: var(--accent-color);
 transform: scale(1.2);
}

/* Blog Preview Section */
.blog-preview-section {
 padding: 80px 0;
}

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

.blog-card {
 background-color: var(--white-color);
 border-radius: var(--border-radius);
 box-shadow: 0 5px 20px var(--shadow-light);
 overflow: hidden;
 transition: transform var(--transition-speed), box-shadow var(--transition-speed);
 border: 1px solid var(--border-color);
}

.blog-card:hover {
 transform: translateY(-8px);
 box-shadow: 0 10px 25px var(--shadow-medium);
}

.blog-card img {
 width: 100%;
 height: 220px;
 object-fit: cover;
 transition: transform var(--transition-speed);
}

.blog-card:hover img {
 transform: scale(1.05);
}

.blog-card h3 {
 margin: 20px 20px 10px;
 font-size: 1.3em;
 color: var(--primary-color);
}

.blog-card .blog-meta {
 font-size: 0.85em;
 color: var(--light-text);
 margin: 0 20px 15px;
}

.blog-card p {
 font-size: 0.95em;
 color: var(--dark-text);
 margin: 0 20px 20px;
}

.blog-card .btn-tertiary {
 margin: 0 20px 25px;
 display: inline-block;
}

/* FAQ Preview */
.faq-preview-section {
 padding: 80px 0;
}

.faq-accordion {
 max-width: 800px;
 margin: 40px auto 0;
}

.accordion-item {
 background-color: var(--white-color);
 border: 1px solid var(--border-color);
 border-radius: var(--border-radius);
 margin-bottom: 15px;
 overflow: hidden;
 box-shadow: 0 2px 10px var(--shadow-light);
 transition: box-shadow var(--transition-speed);
}

.accordion-item:hover {
 box-shadow: 0 5px 15px var(--shadow-medium);
}

.accordion-header {
 width: 100%;
 padding: 20px 25px;
 background-color: var(--background-light);
 border: none;
 text-align: left;
 font-size: 1.1em;
 font-weight: 500;
 color: var(--dark-text);
 cursor: pointer;
 display: flex;
 justify-content: space-between;
 align-items: center;
 transition: background-color var(--transition-speed);
}

.accordion-header:hover, .accordion-header.active {
 background-color: var(--background-dark);
}

.accordion-header .icon {
 font-size: 1.5em;
 transition: transform var(--transition-speed);
 display: inline-block;
 color: var(--secondary-color);
}

.accordion-header.active .icon {
 transform: rotate(45deg);
 color: var(--primary-color);
}

.accordion-content {
 max-height: 0;
 overflow: hidden;
 transition: max-height 0.4s ease-out, padding 0.4s ease-out;
 padding: 0 25px;
}

.accordion-content.active {
 max-height: 200px; /* Adjust as needed */
 padding: 15px 25px 20px;
}

.accordion-content p {
 font-size: 0.95em;
 color: var(--light-text);
 margin-bottom: 0;
}

/* Call to Action Section */
.cta-section {
 background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
 color: var(--white-color);
 padding: 80px 0;
 text-align: center;
 position: relative;
 overflow: hidden;
}

.cta-content {
 position: relative;
 z-index: 1;
 max-width: 800px;
 margin: 0 auto;
}

.cta-section h2 {
 color: var(--white-color);
 font-size: 2.5em;
 margin-bottom: 20px;
}

.cta-section p {
 font-size: 1.2em;
 opacity: 0.9;
 margin-bottom: 30px;
}

.cta-interactive-bg {
 position: absolute;
 top: -50%;
 left: -50%;
 width: 200%;
 height: 200%;
 background: radial-gradient(circle at 10% 20%, rgba(255,255,255,0.1) 0%, transparent 20%),
 radial-gradient(circle at 70% 80%, rgba(255,255,255,0.15) 0%, transparent 25%),
 radial-gradient(circle at 40% 60%, rgba(255,255,255,0.08) 0%, transparent 15%);
 background-repeat: no-repeat;
 animation: ctaBackgroundMove 30s linear infinite;
 z-index: 0;
}

@keyframes ctaBackgroundMove {
 0% { transform: translate(0, 0) scale(1); }
 25% { transform: translate(10%, -10%) scale(1.05); }
 50% { transform: translate(0, 0) scale(1); }
 75% { transform: translate(-10%, 10%) scale(1.05); }
 100% { transform: translate(0, 0) scale(1); }
}

/* Footer */
footer {
 background-color: var(--dark-text);
 color: var(--white-color);
 padding: 50px 0 20px;
 font-size: 0.95em;
 position: relative;
 overflow: hidden;
}

footer .container {
 position: relative;
 z-index: 1;
}

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

.footer-col h4 {
 color: var(--accent-color);
 font-size: 1.1em;
 margin-bottom: 20px;
 position: relative;
}

.footer-col h4::after {
 content: '';
 display: block;
 width: 40px;
 height: 2px;
 background-color: var(--secondary-color);
 margin-top: 8px;
}

.footer-col ul {
 padding: 0;
}

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

.footer-col a {
 color: rgba(255, 255, 255, 0.7);
 transition: color var(--transition-speed);
}

.footer-col a:hover {
 color: var(--white-color);
 text-decoration: underline;
}

.footer-col.brand-info .footer-logo {
 font-size: 1.8em;
 font-weight: 700;
 color: var(--white-color);
 display: block;
 margin-bottom: 15px;
 animation: pulseLogo 3s infinite ease-in-out;
}

@keyframes pulseLogo {
 0%, 100% { transform: scale(1); }
 50% { transform: scale(1.03); }
}

.footer-col.brand-info p {
 color: rgba(255, 255, 255, 0.7);
 margin-bottom: 8px;
}

.footer-col.contact-info p {
 margin-bottom: 8px;
 color: rgba(255, 255, 255, 0.7);
}

.footer-col.contact-info address {
 font-style: normal;
 margin-bottom: 8px;
 color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
 border-top: 1px solid rgba(255, 255, 255, 0.1);
 padding-top: 20px;
 text-align: center;
 color: rgba(255, 255, 255, 0.6);
 font-size: 0.85em;
}

.social-links {
 margin-top: 20px;
 display: flex;
 gap: 15px;
 justify-content: flex-start;
}

.social-links a {
 display: inline-block;
 width: 35px;
 height: 35px;
 background-color: rgba(255, 255, 255, 0.1);
 border-radius: 50%;
 display: flex;
 justify-content: center;
 align-items: center;
 transition: background-color var(--transition-speed), transform var(--transition-speed);
}

.social-links a:hover {
 background-color: var(--secondary-color);
 transform: translateY(-3px) scale(1.1);
}

.social-links img {
 width: 20px;
 height: 20px;
 filter: brightness(0) invert(1); /* Makes logos white */
}

/* Inner Page Specific Styles */
.hero-mini {
 background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
 color: var(--white-color);
 padding: 120px 0 60px;
 text-align: center;
 position: relative;
 overflow: hidden;
 min-height: 30vh;
 display: flex;
 align-items: center;
 justify-content: center;
}

.hero-mini::before {
 content: '';
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg" opacity="0.1"><circle cx="25" cy="25" r="15" fill="%23FFFFFF"/><circle cx="75" cy="75" r="10" fill="%23FFFFFF"/><path d="M50 0 L100 50 L50 100 L0 50 Z" fill="%23FFFFFF" opacity="0.1"/></svg>') repeat;
 background-size: 150px;
 opacity: 0.15;
 z-index: 0;
 animation: rotateBackground 60s linear infinite;
}

.hero-mini h1 {
 font-size: 3em;
 color: var(--white-color);
 position: relative;
 z-index: 1;
 text-shadow: 2px 2px 5px rgba(0,0,0,0.3);
}

.content-section {
 padding: 60px 0;
}

.sidebar {
 background-color: var(--background-light);
 padding: 20px;
 border-radius: var(--border-radius);
 position: sticky;
 top: 100px; /* Adjust based on header height */
}

.sidebar h4 {
 color: var(--primary-color);
 margin-bottom: 15px;
 border-bottom: 2px solid var(--border-color);
 padding-bottom: 10px;
}

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

.sidebar ul li {
 margin-bottom: 10px;
}

.sidebar ul li a {
 color: var(--dark-text);
 display: block;
 padding: 8px 10px;
 border-radius: 5px;
 transition: background-color var(--transition-speed), color var(--transition-speed);
}

.sidebar ul li a:hover, .sidebar ul li a.active {
 background-color: var(--secondary-color);
 color: var(--white-color);
}

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

.service-card {
 background-color: var(--white-color);
 border-radius: var(--border-radius);
 box-shadow: 0 5px 20px var(--shadow-light);
 padding: 30px;
 text-align: center;
 border: 1px solid var(--border-color);
 transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.service-card:hover {
 transform: translateY(-8px);
 box-shadow: 0 10px 25px var(--shadow-medium);
}

.service-card .icon {
 font-size: 3em;
 color: var(--secondary-color);
 margin-bottom: 20px;
 display: block;
 animation: floatingIcon 3s infinite ease-in-out;
}

@keyframes floatingIcon {
 0%, 100% { transform: translateY(0); }
 50% { transform: translateY(-10px); }
}

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

.service-card p {
 color: var(--light-text);
 font-size: 0.95em;
 margin-bottom: 0;
}

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

.team-member-card {
 background-color: var(--white-color);
 border-radius: var(--border-radius);
 box-shadow: 0 5px 20px var(--shadow-light);
 overflow: hidden;
 text-align: center;
 border: 1px solid var(--border-color);
 transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.team-member-card:hover {
 transform: translateY(-8px);
 box-shadow: 0 10px 25px var(--shadow-medium);
}

.team-member-card img {
 width: 100%;
 height: 250px;
 object-fit: cover;
 display: block;
 transition: transform var(--transition-speed);
}

.team-member-card:hover img {
 transform: scale(1.05);
}

.team-member-info {
 padding: 25px;
}

.team-member-info h3 {
 margin-bottom: 5px;
 color: var(--primary-color);
}

.team-member-info p {
 color: var(--light-text);
 font-size: 0.9em;
 margin-bottom: 10px;
}

.team-member-info .social-links {
 justify-content: center;
 margin-top: 15px;
}

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

.contact-form-container {
 background-color: var(--white-color);
 padding: 30px;
 border-radius: var(--border-radius);
 box-shadow: 0 5px 20px var(--shadow-light);
 border: 1px solid var(--border-color);
}

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

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
 width: 100%;
 padding: 12px;
 margin-bottom: 20px;
 border: 1px solid var(--border-color);
 border-radius: 5px;
 font-family: 'Roboto', sans-serif;
 font-size: 1em;
 transition: border-color var(--transition-speed), box-shadow var(--transition-speed);
}

.contact-form input:focus,
.contact-form textarea:focus {
 border-color: var(--secondary-color);
 box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
 outline: none;
}

.contact-info-block {
 background-color: var(--background-light);
 padding: 30px;
 border-radius: var(--border-radius);
 box-shadow: 0 5px 20px var(--shadow-light);
 border: 1px solid var(--border-color);
}

.contact-info-block h3 {
 color: var(--primary-color);
 margin-bottom: 20px;
}

.contact-info-block p {
 display: flex;
 align-items: center;
 margin-bottom: 15px;
 color: var(--dark-text);
}

.contact-info-block p strong {
 margin-right: 10px;
 color: var(--secondary-color);
}

.map-container {
 margin-top: 40px;
 height: 450px;
 border-radius: var(--border-radius);
 overflow: hidden;
 box-shadow: 0 5px 20px var(--shadow-light);
}

.map-container iframe {
 width: 100%;
 height: 100%;
 border: 0;
}

/* Blog Post Page */
.post-header {
 text-align: left;
 margin-bottom: 30px;
 padding-bottom: 20px;
 border-bottom: 1px solid var(--border-color);
}

.post-header h1 {
 font-size: 2.5em;
 line-height: 1.2;
 margin-bottom: 10px;
}

.post-meta {
 font-size: 0.9em;
 color: var(--light-text);
 margin-bottom: 15px;
 display: flex;
 align-items: center;
 gap: 10px;
}

.post-meta .author-avatar {
 width: 40px;
 height: 40px;
 border-radius: 50%;
 object-fit: cover;
 border: 1px solid var(--border-color);
}

.blog-post-content {
 font-size: 1.05em;
 line-height: 1.8;
}

.blog-post-content h2, .blog-post-content h3 {
 margin-top: 1.5em;
 margin-bottom: 0.8em;
 color: var(--primary-color);
}

.blog-post-content img {
 max-width: 100%;
 height: auto;
 border-radius: var(--border-radius);
 margin: 25px 0;
 box-shadow: 0 5px 15px var(--shadow-light);
}

.blog-post-content blockquote {
 background-color: var(--background-light);
 border-left: 5px solid var(--secondary-color);
 padding: 15px 20px;
 margin: 25px 0;
 font-style: italic;
 color: var(--light-text);
 border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.related-posts {
 margin-top: 60px;
 padding-top: 40px;
 border-top: 1px solid var(--border-color);
}

/* Gallery Page */
.gallery-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
 gap: 20px;
 margin-top: 40px;
}

.gallery-item {
 cursor: pointer;
 overflow: hidden;
 border-radius: var(--border-radius);
 box-shadow: 0 5px 15px var(--shadow-light);
 position: relative;
 transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.gallery-item:hover {
 transform: translateY(-5px) scale(1.02);
 box-shadow: 0 8px 20px var(--shadow-medium);
}

.gallery-item img {
 width: 100%;
 height: 250px;
 object-fit: cover;
 display: block;
 transition: transform var(--transition-speed);
}

.gallery-item:hover img {
 transform: scale(1.1);
}

.gallery-overlay {
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background-color: rgba(0, 0, 0, 0.4);
 display: flex;
 justify-content: center;
 align-items: center;
 opacity: 0;
 transition: opacity var(--transition-speed);
}

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

.gallery-overlay .view-icon {
 color: var(--white-color);
 font-size: 2em;
}

.lightbox {
 display: none;
 position: fixed;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background-color: rgba(0, 0, 0, 0.9);
 z-index: 2000;
 justify-content: center;
 align-items: center;
}

.lightbox-content {
 max-width: 90%;
 max-height: 90%;
}

.lightbox-content img {
 width: auto;
 height: auto;
 max-width: 100%;
 max-height: 100%;
 border-radius: var(--border-radius);
}

.lightbox-close {
 position: absolute;
 top: 20px;
 right: 30px;
 color: var(--white-color);
 font-size: 3em;
 cursor: pointer;
}

/* FAQ Page */
.faq-page-content {
 padding-bottom: 60px;
}

.faq-page-content .faq-accordion {
 margin-top: 0;
}

/* Legal Pages */
.legal-content h2 {
 text-align: left;
 font-size: 2em;
 margin-top: 1em;
 margin-bottom: 0.5em;
 color: var(--primary-color);
}

.legal-content h3 {
 text-align: left;
 font-size: 1.5em;
 margin-top: 1em;
 margin-bottom: 0.5em;
 color: var(--secondary-color);
}

.legal-content p, .legal-content ul {
 margin-bottom: 1em;
 color: var(--dark-text);
}

.legal-content ul {
 list-style-type: disc;
 margin-left: 20px;
}

.legal-content ul li {
 margin-bottom: 0.5em;
}

/* Thanks Page */
.thanks-section {
 min-height: 60vh;
 display: flex;
 flex-direction: column;
 justify-content: center;
 align-items: center;
 text-align: center;
 padding: 80px 20px;
 background-color: var(--background-light);
}

.thanks-section h1 {
 color: var(--accent-color);
 font-size: 3em;
 margin-bottom: 20px;
}

.thanks-section p {
 font-size: 1.3em;
 color: var(--dark-text);
 margin-bottom: 30px;
}

.thanks-section .btn {
 padding: 15px 30px;
 font-size: 1.1em;
}

/* 404 Page */
.error-section {
 min-height: 70vh;
 display: flex;
 flex-direction: column;
 justify-content: center;
 align-items: center;
 text-align: center;
 padding: 80px 20px;
 background: linear-gradient(135deg, #f0f2f5 0%, #e0e5ec 100%);
}

.error-section h1 {
 font-size: 6em;
 color: var(--primary-color);
 margin-bottom: 10px;
 animation: bounce 1s infinite alternate;
}

@keyframes bounce {
 0% { transform: translateY(0); }
 100% { transform: translateY(-15px); }
}

.error-section h2 {
 font-size: 2.5em;
 color: var(--dark-text);
 margin-bottom: 20px;
}

.error-section p {
 font-size: 1.2em;
 color: var(--light-text);
 margin-bottom: 40px;
 max-width: 600px;
}

.error-section .btn {
 padding: 15px 35px;
 font-size: 1.1em;
}

/* Media Queries */
@media (max-width: 992px) {
 .nav-links {
 gap: 20px;
 }
 .hero-content h1 {
 font-size: 3em;
 }
 .hero-content .subtitle {
 font-size: 1.2em;
 }
 h2 {
 font-size: 1.8em;
 }
 h3 {
 font-size: 1.4em;
 }

 .process-timeline::before {
 left: 20px;
 transform: translateX(0);
 }

 .timeline-item {
 flex-direction: row !important; /* Force all items to flow left-to-right on mobile */
 text-align: left !important;
 }

 .timeline-dot {
 left: 20px;
 transform: translateX(-50%);
 }

 .timeline-item:nth-child(odd) .timeline-content,
 .timeline-item:nth-child(even) .timeline-content {
 margin-left: 80px; /* Adjust margin for single column */
 margin-right: 0;
 }
}

@media (max-width: 768px) {
 .nav-toggle {
 display: flex;
 }

 .nav-links {
 display: none;
 flex-direction: column;
 position: absolute;
 top: 100%; /* Below header */
 left: 0;
 width: 100%;
 background-color: var(--white-color);
 box-shadow: 0 5px 15px var(--shadow-medium);
 padding: 20px 0;
 border-top: 1px solid var(--border-color);
 z-index: 999;
 }

 .nav-links.active {
 display: flex;
 animation: slideDown 0.3s ease-out forwards;
 }
 @keyframes slideDown {
 from { transform: translateY(-100%); opacity: 0; }
 to { transform: translateY(0%); opacity: 1; }
 }

 .nav-links li {
 width: 100%;
 text-align: center;
 margin: 10px 0;
 }

 .nav-links a {
 padding: 10px 20px;
 display: block;
 color: var(--dark-text);
 font-size: 1.1em;
 }

 .nav-links a::before, .nav-links a::after {
 display: none; /* Disable interactive effects for mobile menu */
 }

 .hero-section .container {
 flex-direction: column-reverse;
 text-align: center;
 }

 .hero-content {
 text-align: center;
 transform: translateX(0);
 animation: none; /* Disable hero animations for mobile */
 opacity: 1;
 }
 .hero-content h1 {
 font-size: 2.5em;
 }
 .hero-content .subtitle {
 font-size: 1.1em;
 }
 .hero-actions {
 justify-content: center;
 }

 .hero-image {
 margin-bottom: 30px;
 transform: translateX(0);
 animation: none; /* Disable hero animations for mobile */
 opacity: 1;
 }

 .explore-grid, .blog-grid, .team-grid, .services-grid {
 grid-template-columns: 1fr;
 }

 .explore-card {
 text-align: left;
 }

 .timeline-item:nth-child(odd) .timeline-content,
 .timeline-item:nth-child(even) .timeline-content {
 margin-left: 60px; /* Reduced margin for smaller screens */
 }

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

 .footer-grid {
 grid-template-columns: 1fr;
 text-align: center;
 }

 .footer-col h4::after {
 margin-left: auto;
 margin-right: auto;
 }

 .social-links {
 justify-content: center;
 }

 .hero-mini h1 {
 font-size: 2em;
 }
 .error-section h1 {
 font-size: 4em;
 }
 .error-section h2 {
 font-size: 1.8em;
 }
}

@media (max-width: 480px) {
 h1 {
 font-size: 2em;
 }
 h2 {
 font-size: 1.6em;
 }
 .hero-content h1 {
 font-size: 2em;
 }
 .hero-actions {
 flex-direction: column;
 align-items: center;
 gap: 15px;
 }
 .btn {
 width: 100%;
 max-width: 250px;
 padding: 12px 20px;
 }
 .testimonial-text {
 font-size: 1em;
 }
 .contact-form-container, .contact-info-block {
 padding: 20px;
 }
 .service-card, .blog-card, .explore-card, .team-member-card {
 padding: 20px;
 }
 .accordion-header {
 padding: 15px 20px;
 font-size: 1em;
 }
 .accordion-content.active {
 padding: 10px 20px 15px;
 }
}