/* ============================================
   Crystal Aqua - Main Stylesheet
   ============================================ */

/* CSS Variables */
:root {
    --primary-color: #0099ff; /* Vibrant Blue from logo */
    --secondary-color: #00ff88; /* Bright Green from logo */
    --accent-color: #0066cc; /* Darker blue for contrast */
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --success-color: #00ff88; /* Using bright green for success */
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 5px 20px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

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

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

/* Header & Navigation */
header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    font-weight: 500;
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
    background-color: rgba(0, 255, 136, 0.1);
    border-bottom: 2px solid var(--secondary-color);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 50%, var(--secondary-color) 100%);
    color: white;
    padding: 5rem 2rem;
    text-align: center;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
}

.hero h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section {
    background: linear-gradient(135deg, var(--bg-light) 0%, rgba(0, 153, 255, 0.06) 100%);
}

.cta-block {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-block h2 {
    margin-bottom: 1rem;
}

.cta-block p {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--bg-white);
    color: var(--primary-color);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: white;
    border-color: transparent;
}

/* Container & Sections */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* About Section */
.about {
    background-color: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.features {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark);
}

.features li::before {
    content: "✓";
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

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

.service-card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    margin-bottom: 1rem;
}

/* Our Main Products Section */
.main-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.main-product-card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px dashed var(--border-color);
    position: relative;
}

.main-product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.main-product-image {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.main-product-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.main-product-card p {
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Our Professional Services Section */
.professional-services-content {
    max-width: 900px;
    margin: 0 auto;
}

.professional-services-list {
    list-style: disc;
    margin: 0 0 2rem 1.5rem;
    padding: 0;
}

.professional-services-list li {
    color: var(--text-dark);
    font-size: 1.1rem;
    line-height: 2;
    margin-bottom: 0.5rem;
}

.professional-services-para {
    color: var(--text-dark);
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
}

/* Professional Service Detail (Services page) */
.professional-service-detail {
    background-color: var(--bg-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 2.5rem;
    border-left: 4px solid var(--primary-color);
}

.professional-service-detail:last-child {
    margin-bottom: 0;
}

.professional-service-detail h3 {
    color: var(--accent-color);
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
}

.professional-service-detail p {
    color: var(--text-dark);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.professional-service-detail .scope-label {
    font-weight: 600;
    color: var(--accent-color);
    margin-top: 1.25rem;
    margin-bottom: 0.75rem;
}

.professional-service-list {
    list-style: disc;
    margin: 0 0 0 1.5rem;
    padding: 0;
}

.professional-service-list li {
    color: var(--text-dark);
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 0.5rem;
}

/* Project Cards (Projects page) */
.project-card {
    background-color: var(--bg-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 2.5rem;
    border-left: 4px solid var(--primary-color);
}

.project-card:last-child {
    margin-bottom: 0;
}

.project-card h3 {
    color: var(--accent-color);
    margin-bottom: 1.25rem;
    font-size: 1.35rem;
}

.project-card p {
    color: var(--text-dark);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 0.75rem;
}

.project-card .scope-label {
    font-weight: 600;
    color: var(--accent-color);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

/* Featured project card (client logo + description with image) */
.project-card-featured .project-client-logo {
    text-align: center;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem 2rem;
    margin-bottom: 1.5rem;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}
.project-card-featured .project-client-logo img {
    max-height: 60px;
    width: auto;
    display: block;
    margin: 0 auto 0.5rem;
}
.project-card-featured .project-client-logo-fallback {
    display: none;
    font-weight: 700;
    color: var(--accent-color);
    font-size: 1.25rem;
}
.project-card-featured .project-client-logo small {
    display: block;
    color: var(--text-light);
    font-size: 0.9rem;
}
.project-card-featured .project-subtitle {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
}
.project-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem 2rem;
    margin-bottom: 1.5rem;
}
.project-detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.project-detail-item strong {
    color: var(--text-light);
    font-size: 0.9rem;
}
.project-detail-item span {
    color: var(--text-dark);
    font-weight: 500;
}
.project-description-with-image {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: start;
    margin-top: 1rem;
}
.project-description-text {
    min-width: 0;
}
.project-equipment-image {
    flex-shrink: 0;
    max-width: 280px;
}
.project-equipment-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow);
}
@media (max-width: 768px) {
    .project-description-with-image {
        grid-template-columns: 1fr;
    }
    .project-equipment-image {
        max-width: 100%;
    }
}

/* Mission & Vision Section */
.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.mission-vision-card {
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 100%);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.mission-vision-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.mission-vision-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.mission-vision-card:nth-child(2) {
    border-top-color: var(--secondary-color);
}

.mission-vision-card:nth-child(2)::before {
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 100%);
}

.mission-vision-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.mission-vision-card h2 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.mission-vision-card p {
    color: var(--text-dark);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.mission-vision-card p:last-child {
    margin-bottom: 0;
}

/* CEO's Message Section */
.ceo-message-section {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
    padding: 5rem 0;
}

.ceo-message-section .section-title {
    margin-bottom: 3rem;
}

.ceo-message-wrapper {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 4rem;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

.ceo-image-container {
    position: relative;
    text-align: center;
}

.ceo-image {
    width: 100%;
    max-width: 280px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 5px solid var(--bg-white);
    object-fit: cover;
    transition: var(--transition);
    display: block;
    margin: 0 auto;
}

.ceo-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 153, 255, 0.2);
}

.ceo-message-content {
    text-align: left;
}

.ceo-message-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    text-align: justify;
}

.ceo-signature {
    margin-top: 1.5rem;
    text-align: left;
}

.ceo-signature h4 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.ceo-signature p {
    font-size: 1.05rem;
    color: var(--text-light);
    margin: 0;
    text-align: left;
    font-weight: 500;
}

/* Core Values Section */
.core-values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.core-value-card {
    background-color: var(--bg-white);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.core-value-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: scaleX(0);
    transition: var(--transition);
}

.core-value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.core-value-card:hover::before {
    transform: scaleX(1);
}

.core-value-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: var(--transition);
}

.core-value-card:hover .core-value-icon {
    transform: scale(1.1) rotate(5deg);
}

.core-value-card h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.core-value-card p {
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Products Section */
.products-section {
    background-color: var(--bg-light);
}

.filter-bar {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    background-color: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-color: var(--primary-color);
}

.search-box {
    max-width: 500px;
    margin: 0 auto 3rem;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 0.75rem 1rem;
    padding-right: 3rem;
    border: 2px solid var(--border-color);
    border-radius: 25px;
    font-size: 1rem;
    transition: var(--transition);
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.search-box::after {
    content: "🔍";
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background-color: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.product-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 50%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.product-info p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.product-specs {
    list-style: none;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.product-specs li {
    padding: 0.25rem 0;
    color: var(--text-light);
}

.product-specs li::before {
    content: "• ";
    color: var(--secondary-color);
    font-weight: bold;
}

.btn-inquire {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-inquire:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Contact Section */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

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

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group .error {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #dc3545;
}

.form-group.error .error {
    display: block;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
}

.info-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.info-card p {
    margin: 0.25rem 0;
    color: var(--text-dark);
}

.map-container {
    margin-top: 2rem;
    height: 300px;
    background-color: var(--bg-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

/* Footer */
footer {
    background-color: var(--accent-color);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    display: block;
}

.footer-section a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

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

.social-links a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom .footer-tagline {
    font-style: italic;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    opacity: 0.95;
}

/* Certifications & Registration Section */
.certifications-section {
    background-color: var(--bg-light);
    background-image: radial-gradient(circle at 20% 30%, rgba(0, 153, 255, 0.04) 0%, transparent 50%),
                      radial-gradient(circle at 80% 70%, rgba(0, 255, 136, 0.04) 0%, transparent 50%),
                      radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.8) 0%, transparent 25%),
                      radial-gradient(circle at 90% 20%, rgba(255, 255, 255, 0.6) 0%, transparent 20%);
    padding: 4rem 0;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    justify-items: center;
}

.certificate-item {
    border: 2px dashed var(--primary-color);
    border-radius: 8px;
    padding: 1rem;
    background: var(--bg-white);
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.certificate-item img {
    max-width: 100%;
    max-height: 320px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.cert-placeholder-text {
    display: none;
    color: var(--text-light);
    font-size: 0.95rem;
    text-align: center;
    padding: 1rem;
}

.cert-placeholder-text.cert-placeholder {
    display: block;
}

/* Product Gallery Section */
.product-gallery-section {
    padding: 4rem 0;
}

.product-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    border: 2px dashed var(--secondary-color);
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--bg-light);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .product-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Contact intro and tagline */
.contact-intro {
    margin-bottom: 2rem;
    padding: 1rem 0;
}

.contact-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 0;
}

.contact-tagline {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    font-style: italic;
    color: var(--text-light);
    text-align: center;
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo img {
        height: 40px;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background-color: var(--bg-white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow);
        transition: var(--transition);
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

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

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

    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .mission-vision-card {
        padding: 2rem;
    }

    .ceo-message-section {
        padding: 3rem 0;
    }

    .ceo-message-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .ceo-image-container {
        order: -1;
    }

    .ceo-image {
        max-width: 250px;
    }

    .ceo-message-content {
        text-align: center;
    }

    .ceo-message-content p {
        font-size: 1rem;
        text-align: left;
    }

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

    .ceo-signature h4,
    .ceo-signature p {
        text-align: center;
    }

    .core-values-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }

    .core-value-card {
        padding: 2rem 1.5rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .section {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 35px;
    }

    .hero {
        padding: 3rem 1rem;
    }

    .container {
        padding: 0 1rem;
    }

    .services-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .mission-vision-card {
        padding: 1.5rem;
    }

    .mission-vision-card h2 {
        font-size: 1.5rem;
    }

    .mission-vision-icon {
        font-size: 2.5rem;
    }

    .ceo-message-section {
        padding: 2rem 0;
    }

    .ceo-message-wrapper {
        gap: 2rem;
    }

    .ceo-image {
        max-width: 200px;
    }

    .ceo-message-content {
        padding: 0 1rem;
    }

    .ceo-message-content p {
        font-size: 0.95rem;
        text-align: left;
    }

    .ceo-signature {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }

    .ceo-signature h4 {
        font-size: 1.3rem;
    }

    .main-product-card {
        padding: 1.5rem;
    }

    .main-product-card h3 {
        font-size: 1.15rem;
    }

    .core-values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .core-value-card {
        padding: 1.5rem;
    }

    .core-value-icon {
        font-size: 2.5rem;
    }

    .core-value-card h3 {
        font-size: 1.3rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

/* Services page – reduced spacing */
.services-page .hero.services-hero {
    padding: 2rem 1.5rem;
}

.services-page .section {
    padding: 2rem 0;
}

.services-page .section-title {
    margin-bottom: 1.5rem;
}

.services-page .section-title p {
    margin-bottom: 0;
}

.services-page .professional-service-detail {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.services-page .professional-service-detail:last-child {
    margin-bottom: 0;
}

.services-page .professional-service-detail h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.services-page .professional-service-detail p {
    margin-bottom: 0.5rem;
}

.services-page .professional-service-detail .scope-label {
    margin-top: 0.75rem;
    margin-bottom: 0.5rem;
}

.services-page .professional-service-list li {
    margin-bottom: 0.35rem;
}

.services-page .services-grid {
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.services-page .service-card {
    padding: 1.25rem;
}

.services-page .service-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.services-page .service-card p {
    margin-bottom: 0.5rem;
}

.services-page .service-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.services-page .service-card .features {
    margin-top: 0.5rem !important;
}

.services-cta-buttons {
    text-align: center;
    margin-top: 1rem;
}

.services-cta-buttons .btn {
    margin: 0.35rem;
}

.services-cta-buttons .btn-secondary {
    background-color: var(--primary-color);
    color: white;
    border: none;
}

.services-cta-buttons .btn-secondary:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.hidden {
    display: none !important;
}
