/* Base Styling */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa; /* Light background */
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Colors */
:root {
    --vio-orange: #f37221; /* Updated to brand primary */
    --vio-blue: #042d62;   /* Updated to brand accent */
    --vio-light-blue: #e0f2f7; /* Lighter shade for accents */
    --text-dark: #333;
    --text-light: #f8f9fa;
    --bg-light: #ffffff;
    --bg-dark: #222;
    --neutral-gray: #666; /* Added for general text */
    --light-gray: #eee; /* Added for borders/backgrounds */
}

/* Typography */
h1, h2, h3 {
    font-weight: 700;
    color: var(--vio-blue);
}

h1 { font-size: 3.5rem; line-height: 1.1; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; }

.gradient-text {
    background: linear-gradient(90deg, var(--vio-orange) 0%, var(--vio-blue) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--vio-orange);
    color: var(--text-light);
}
.btn-primary:hover {
    background-color: #e5461e; /* Slightly darker orange */
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--vio-blue);
    color: var(--vio-blue);
}
.btn-secondary:hover {
    background-color: var(--vio-blue);
    color: var(--text-light);
    transform: translateY(-2px);
}

/* Header */
header {
    background-color: var(--bg-light);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
header.scrolled {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
header .logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}
header .nav-link {
    padding: 15px 0;
    color: var(--text-dark);
    text-decoration: none;
    position: relative;
    font-weight: 500;
    transition: color 0.3s ease;
}
header .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 10px;
    left: 0;
    background-color: var(--vio-orange);
    transition: width 0.3s ease;
}
header .nav-link:hover::after,
header .nav-link.active::after {
    width: 100%;
}
header .nav-link:hover,
header .nav-link.active {
    color: var(--vio-orange);
}

/* Mobile Menu */
.mobile-menu-button {
    display: none; /* Hidden on desktop */
    font-size: 1.8rem;
    color: var(--vio-blue);
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}
.mobile-nav {
    display: none; /* Hidden by default */
    flex-direction: column;
    background-color: var(--bg-light);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 10px 0;
}
.mobile-nav.open {
    display: flex;
}
.mobile-nav a {
    padding: 10px 20px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    border-bottom: 1px solid var(--light-gray);
    transition: background-color 0.3s ease;
}
.mobile-nav a:last-child {
    border-bottom: none;
}
.mobile-nav a:hover {
    background-color: var(--vio-light-blue);
}

@media (max-width: 768px) {
    header .desktop-nav {
        display: none;
    }
    .mobile-menu-button {
        display: block;
    }
}


/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(252, 81, 36, 0.08) 0%, rgba(0, 56, 168, 0.08) 100%); /* Updated to brand colors */
    padding: 100px 0;
    text-align: center;
}
.hero-section h1 {
    font-size: 4rem;
    margin-bottom: 20px;
}
.hero-section p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: var(--neutral-gray);
}
.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 40px auto 0 auto;
    animation: float 6s ease-in-out infinite;
}
.hero-image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Brand Personality / Features Section */
.features-section {
    padding: 80px 0;
    background-color: var(--bg-light);
    text-align: center;
}
.feature-card {
    background-color: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}
.feature-card .icon-wrapper {
    width: 70px;
    height: 70px;
    background-color: var(--vio-light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    font-size: 2rem;
    color: var(--vio-blue);
}
.feature-card h3 {
    margin-bottom: 15px;
    color: var(--vio-blue);
}
.feature-card p {
    color: var(--neutral-gray);
    font-size: 0.95rem;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background-color: #f0f2f5;
    text-align: center;
}
.service-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 5px solid transparent; /* Placeholder for color */
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}
.service-card.orange-border { border-color: var(--vio-orange); }
.service-card.blue-border { border-color: var(--vio-blue); }

.service-card .content {
    padding: 30px;
}
.service-card .icon-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}
.service-card .icon-header .icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-right: 15px;
    background-color: var(--vio-light-blue);
    color: var(--vio-blue);
}
.service-card h3 {
    font-size: 1.6rem;
    color: var(--vio-blue);
}
.service-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.service-card ul li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    color: var(--neutral-gray);
    font-size: 0.95rem;
}
.service-card ul li i {
    color: var(--vio-orange);
    margin-right: 10px;
    margin-top: 3px;
}

/* Projects Section */
.projects-section {
    padding: 80px 0;
    background-color: var(--bg-light);
    text-align: center;
}
.project-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}
.project-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.project-card:hover img {
    transform: scale(1.05);
}
.project-card .content {
    padding: 25px;
}
.project-card .tags span {
    background-color: var(--vio-light-blue);
    color: var(--vio-blue);
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 600;
}
.project-card h3 {
    margin: 15px 0 10px 0;
    font-size: 1.5rem;
    color: var(--vio-blue);
}
.project-card p {
    color: var(--neutral-gray);
    font-size: 0.95rem;
    margin-bottom: 20px;
}
.project-card ul {
    list-style: none;
    padding: 0;
}
.project-card ul li {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--neutral-gray);
}
.project-card ul li i {
    color: var(--vio-orange);
    margin-right: 10px;
}
.view-more-btn {
    margin-top: 40px;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background-color: #f0f2f5;
    text-align: center;
}
.testimonial-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}
.testimonial-card .quote {
    font-style: italic;
    color: var(--neutral-gray);
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 1.05rem;
}
.testimonial-card .author-info {
    display: flex;
    align-items: center;
}
.testimonial-card .avatar {
    width: 60px;
    height: 60px;
    background-color: var(--vio-light-blue);
    color: var(--vio-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.5rem;
    margin-right: 15px;
}
.testimonial-card .author-name {
    font-weight: 600;
    color: var(--vio-blue);
    font-size: 1.1rem;
}
.testimonial-card .author-location {
    color: #777;
    font-size: 0.9rem;
}
.testimonial-card .stars {
    color: var(--vio-orange);
    margin-top: 10px;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}
.contact-content {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
}
.contact-info {
    background-color: var(--vio-blue);
    color: var(--text-light);
    padding: 50px;
    flex: 1;
    min-width: 350px;
}
.contact-info h3 {
    color: var(--vio-orange);
    margin-bottom: 30px;
    font-size: 2rem;
}
.contact-detail {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}
.contact-detail i {
    color: var(--vio-orange);
    font-size: 1.5rem;
    margin-right: 20px;
    margin-top: 5px;
}
.contact-detail strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 5px;
}
.contact-detail a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}
.contact-detail a:hover {
    color: var(--vio-orange);
}
.social-links {
    margin-top: 40px;
}
.social-links a {
    color: var(--text-light);
    font-size: 1.8rem;
    margin-right: 20px;
    transition: color 0.3s ease;
}
.social-links a:hover {
    color: var(--vio-orange);
}

.contact-form-wrapper {
    padding: 50px;
    flex: 1;
    min-width: 350px;
    background-color: #fff;
}
.contact-form-wrapper h3 {
    color: var(--vio-blue);
    margin-bottom: 30px;
    font-size: 2rem;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--neutral-gray);
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--vio-orange);
    box-shadow: 0 0 0 3px rgba(252, 81, 36, 0.2); /* Updated to brand primary */
}
.form-message {
    margin-top: 15px;
    font-size: 0.9rem;
    font-weight: 600;
    display: none; /* Hidden by default */
}
.form-message.show {
    display: block;
}
.form-message.success { color: green; }
.form-message.error { color: red; }
.submit-btn {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.submit-btn .loader {
    border: 3px solid rgba(255,255,255,0.3);
    border-top: 3px solid #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    display: none;
}
.submit-btn.loading .loader { display: block; }
.submit-btn.loading .btn-text { display: none; }
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


/* Footer */
footer {
    background-color: var(--vio-blue);
    color: var(--text-light);
    padding: 60px 0 20px 0;
    font-size: 0.95rem;
}
footer .footer-col h3 {
    color: var(--vio-orange);
    margin-bottom: 25px;
    font-size: 1.3rem;
}
footer .footer-col ul {
    list-style: none;
    padding: 0;
}
footer .footer-col ul li {
    margin-bottom: 10px;
}
footer .footer-col ul li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}
footer .footer-col ul li a:hover {
    color: var(--vio-orange);
}
footer .newsletter-form {
    display: flex;
    margin-top: 20px;
}
footer .newsletter-form input[type="email"] {
    flex-grow: 1;
    padding: 12px 15px;
    border-radius: 8px 0 0 8px;
    border: none;
    background-color: rgba(255,255,255,0.9);
    color: #333;
    font-size: 1rem;
}
footer .newsletter-form button {
    background-color: var(--vio-orange);
    color: var(--text-light);
    padding: 12px 20px;
    border: none;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
footer .newsletter-form button:hover {
    background-color: #e5461e; /* Slightly darker orange */
}
footer .copyright {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: rgba(255,255,255,0.6);
}
footer .social-icons a {
    color: rgba(255,255,255,0.7);
    font-size: 1.5rem;
    margin-right: 15px;
    transition: color 0.3s ease;
}
footer .social-icons a:hover {
    color: var(--vio-orange);
}

/* Utility Classes */
.text-center { text-align: center; }
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.md\:grid-cols-2 {
    @media (min-width: 768px) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
.lg\:grid-cols-3 {
    @media (min-width: 1024px) {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
.lg\:grid-cols-4 {
    @media (min-width: 1024px) {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }
.mb-10 { margin-bottom: 40px; }
.mb-12 { margin-bottom: 48px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.py-16 { padding-top: 64px; padding-bottom: 64px; }
.py-24 { padding-top: 96px; padding-bottom: 96px; }
.px-4 { padding-left: 16px; padding-right: 16px; }
.max-w-2xl { max-width: 42rem; } /* 672px */
.max-w-4xl { max-width: 56rem; } /* 896px */
.w-full { width: 100%; }
.hidden { display: none; }
.relative { position: relative; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.flex-col { flex-direction: column; }
.space-x-8 > *:not(:first-child) { margin-left: 32px; }
.space-y-4 > *:not(:first-child) { margin-top: 16px; }
.space-y-6 > *:not(:first-child) { margin-top: 24px; }
.rounded-lg { border-radius: 8px; }
.rounded-xl { border-radius: 12px; }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1); }
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.duration-300 { transition-duration: 300ms; }

/* Styles for specific pages */

/* Generic Section Styles for consistency */
.page-section {
    padding: 80px 0;
    background-color: var(--bg-light);
    text-align: center;
}

.page-section.bg-light-gray {
    background-color: #f0f2f5;
}

.section-heading {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.8rem;
    color: var(--vio-blue);
}

.section-subheading {
    text-align: center;
    margin-bottom: 60px;
    font-size: 1.1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #555;
}

/* About Page Specific Styles */
.about-hero {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(252, 81, 36, 0.08) 0%, rgba(0, 56, 168, 0.08) 100%);
    text-align: center;
}
.about-hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
}
.about-hero p {
    font-size: 1.3rem;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: #555;
}
.about-values .value-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease;
}
.about-values .value-item:hover {
    transform: translateY(-5px);
}
.about-values .value-item i {
    font-size: 2.5rem;
    color: var(--vio-orange);
    margin-bottom: 20px;
}
.about-values .value-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}
.about-values .value-item p {
    color: var(--neutral-gray);
    font-size: 0.95rem;
}

/* Services Page Specific Styles */
.services-intro {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(252, 81, 36, 0.05) 0%, rgba(0, 56, 168, 0.05) 100%);
    text-align: center;
}
.services-intro h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}
.services-intro p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    color: #555;
}
.service-category {
    margin-bottom: 60px;
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.service-category h2 {
    color: var(--vio-orange);
    margin-bottom: 30px;
    font-size: 2.2rem;
}
.service-category .service-item {
    text-align: left;
    padding: 25px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
}
.service-category .service-item:hover {
    transform: translateY(-5px);
}
.service-category .service-item h4 {
    font-size: 1.4rem;
    color: var(--vio-blue);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}
.service-category .service-item h4 i {
    color: var(--vio-orange);
    margin-right: 12px;
    font-size: 1.5rem;
}
.service-category .service-item p {
    color: #666;
    font-size: 0.95rem;
}

/* Portfolio Page Specific Styles */
.portfolio-intro {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(0, 56, 168, 0.05) 0%, rgba(252, 81, 36, 0.05) 100%);
    text-align: center;
}
.portfolio-intro h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}
.portfolio-intro p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    color: #555;
}
.portfolio-grid .project-card {
    border-top: 5px solid var(--vio-blue); /* Distinct border for portfolio cards */
}
.portfolio-grid .project-card:nth-child(even) {
    border-top-color: var(--vio-orange); /* Alternate border color */
}

/* Blog Page Specific Styles */
.blog-intro {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(252, 81, 36, 0.05) 0%, rgba(0, 56, 168, 0.05) 100%);
    text-align: center;
}
.blog-intro h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}
.blog-intro p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    color: #555;
}
.blog-post-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.blog-post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}
.blog-post-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.blog-post-card .content {
    padding: 25px;
}
.blog-post-card .meta {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 10px;
}
.blog-post-card .meta span {
    margin-right: 15px;
}
.blog-post-card h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
    color: var(--vio-blue);
}
.blog-post-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}
.blog-post-card .read-more {
    color: var(--vio-orange);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}
.blog-post-card .read-more:hover {
    color: var(--vio-blue);
}
.blog-pagination {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    gap: 10px;
}
.blog-pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    color: var(--vio-blue);
    border: 1px solid var(--vio-blue);
    transition: background-color 0.3s ease, color 0.3s ease;
}
.blog-pagination a.active,
.blog-pagination a:hover {
    background-color: var(--vio-orange);
    color: var(--text-light);
    border-color: var(--vio-orange);
}


/* General Content Layout for pages */
.content-section {
    padding: 60px 0;
}
.content-block {
    background-color: #fff;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 40px;
}
.content-block h2 {
    color: var(--vio-blue);
    margin-bottom: 25px;
    font-size: 2rem;
}
.content-block p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}
.content-block ul {
    list-style: none;
    padding-left: 0;
}
.content-block ul li {
    margin-bottom: 10px;
    color: #555;
    display: flex;
    align-items: flex-start;
}
.content-block ul li i {
    color: var(--vio-orange);
    margin-right: 10px;
    margin-top: 5px;
}