/*
Theme Name: Unfold Analytics
Theme URI: https://unfoldanalytics.com
Author: Unfold Analytics
Author URI: https://unfoldanalytics.com
Description: Custom theme for Unfold Analytics website
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: unfoldanalytics
*/

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Montserrat:wght@400;500;600;700&display=swap');

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

body {
    font-family: 'Montserrat', Sans-serif;
    line-height: 1.7;
    color: #2D2A52;
    background: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'DM Sans', Sans-serif;
    color: #2D2A52;
    font-weight: 700;
}

a {
    color: #222;
    text-decoration: none;
}

a:hover {
    color: #000;
}

img {
    max-width: 100%;
    height: auto;
}

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

/* Case Studies Container - More Boxed */
.case-studies-page .container {
    max-width: 760px;
}

/* About Page Container - More Boxed */
.about-page .container {
    max-width: 760px;
}

/* Header */
.site-header {
    background: #fff;
    padding: 0;
    border-bottom: 1px solid #eee;
    height: 120px;
    display: flex;
    align-items: center;
}

.header-container {
    display: grid;
    grid-template-columns: 320px 1fr 320px;
    align-items: center;
    column-gap: 0;
}

.site-logo {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

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

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 24px;
    font-size: 17px;
    letter-spacing: 0.6px;
    justify-content: center;
}

.main-navigation {
    justify-self: center;
    margin-left: 0;
}

.main-navigation a {
    color: #2D2A52;
    font-family: 'DM Sans', Sans-serif;
    font-weight: bold;
}

.main-navigation a:hover {
    color: #000;
}

.contact-button {
    background: #12AD5F;
    color: #fff;
    font-family: 'DM Sans', Sans-serif;
    font-size: 18px;
    font-weight: 500;
    border-radius: 30px;
    padding: 16px 40px;
    transition: background 0.3s ease;
    justify-self: end;
    margin-left: 0;
}

.contact-button:hover {
    background: #1ab06e;
    color: #fff;
}

/* Hero */
.hero-section {
    background: linear-gradient(135deg, #1a1a4e 0%, #2d1b4e 50%, #4a2d6e 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26,26,78,0.65) 0%, rgba(45,27,78,0.65) 50%, rgba(74,45,110,0.6) 100%);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
    padding: 60px 20px;
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-text {
    font-size: 18px;
    color: rgba(255,255,255,0.95);
    margin-bottom: 35px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.hero-link {
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    background: #1fc47e;
    color: #fff;
    padding: 14px 40px;
    border-radius: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(31,196,126,0.3);
}

.hero-link:hover {
    background: #1ab06e;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(31,196,126,0.4);
}

/* Section Headings */
.section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    text-align: center;
    color: #1a1a4e;
}

.section-subtitle {
    font-size: 16px;
    color: #555;
    max-width: 820px;
    margin: 0 auto 50px;
    text-align: center;
    line-height: 1.7;
}

/* Services */
.services-section {
    padding: 80px 0;
    background: #fff;
}

.services-video {
    max-width: 900px;
    margin: 50px auto;
}

.services-video video {
    width: 100%;
    height: auto;
    display: block;
}

.region-diagram {
    max-width: 800px;
    margin: 60px auto 40px;
    padding: 40px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.region-diagram svg {
    width: 100%;
    height: auto;
}

.services-detail-section {
    padding: 60px 0 80px;
    background: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
    margin-top: 20px;
}

.service-item {
    background: #fff;
    padding: 35px 30px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.service-icon {
    margin: 0 auto 20px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-item h3 {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1a1a4e;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-item p {
    color: #555;
    font-size: 15px;
    line-height: 1.6;
}

/* Inner Pages */
.page-hero {
    padding: 60px 0 30px;
}

.page-hero h1 {
    font-size: 36px;
    font-weight: 600;
}

.breadcrumb {
    margin-top: 8px;
    font-size: 13px;
    color: #666;
}

.content-section {
    padding: 30px 0 80px;
}

.content-section h2 {
    font-size: 22px;
    margin: 26px 0 10px;
}

.content-section h3 {
    font-size: 18px;
    margin: 22px 0 6px;
}

.content-section p {
    font-size: 15px;
    color: #444;
    margin-bottom: 12px;
}

.content-section ul {
    margin: 8px 0 18px 18px;
}

/* Product Page */
.product-intro {
    margin-top: 12px;
    font-size: 16px;
    color: #444;
}

.cta-inline {
    display: inline-block;
    margin-top: 12px;
    font-weight: 500;
    border-bottom: 1px solid #222;
    padding-bottom: 4px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 50px;
    margin-top: 18px;
}

.category-block h4 {
    font-size: 16px;
    margin-bottom: 6px;
    font-weight: 600;
}

/* Case Studies Page */
.cases-hero {
    padding: 80px 0 60px;
    text-align: center;
    background: #fff;
}

.cases-hero h1 {
    font-size: 48px;
    font-weight: 700;
    color: #222;
    margin-bottom: 20px;
}

.cases-subtitle {
    font-size: 17px;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.cases-content {
    padding: 40px 0 100px;
    background: #fff;
}

.case-study-item {
    margin-bottom: 120px;
    background: #fff;
    text-align: center;
}

.case-study-title {
    font-family: 'DM Sans', Sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #1fc47e;
    margin-bottom: 30px;
    text-align: center;
}

.case-problem,
.case-solution {
    margin-bottom: 30px;
    text-align: center;
}

.case-problem h3 {
    font-size: 16px;
    font-weight: 700;
    color: #ff6b6b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.case-solution h3 {
    font-size: 16px;
    font-weight: 700;
    color: #4a90e2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.case-problem p,
.case-solution p {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.case-diagram {
    margin-top: 50px;
    text-align: center;
}

.case-diagram img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}


.case-diagram h4 {
    font-size: 20px;
    font-weight: 600;
    color: #222;
    margin-bottom: 20px;
    font-style: italic;
    text-align: center;
}

.diagram-label {
    position: absolute;
    top: 40px;
    right: 40px;
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin: 0;
}

.diagram-flow {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
}

.diagram-box {
    flex: 0 0 auto;
    width: 180px;
    padding: 25px 20px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.diagram-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.diagram-box-highlight {
    background: #e8f5e9;
    border-color: #1fc47e;
}

.diagram-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.diagram-box p {
    font-size: 13px;
    line-height: 1.6;
    color: #444;
    margin: 0;
}

.diagram-box p:first-of-type {
    margin-bottom: 8px;
}

.diagram-box strong {
    font-weight: 600;
    color: #222;
    display: block;
    margin-bottom: 6px;
}

.arrow {
    font-size: 28px;
    color: #1fc47e;
    font-weight: 700;
    flex: 0 0 auto;
}

.diagram-result-box {
    width: 100%;
    margin-top: 30px;
    padding: 25px 30px;
    background: #2d3142;
    color: #fff;
    border-radius: 10px;
    font-size: 15px;
    line-height: 1.7;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.diagram-result-box p {
    margin: 0;
    color: #fff;
}

.diagram-flow-vertical {
    flex-direction: column;
    align-items: stretch;
}

.diagram-flow-vertical .diagram-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.diagram-text {
    padding: 20px 25px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    text-align: center;
}

.diagram-text p {
    font-size: 14px;
    line-height: 1.6;
    color: #444;
    margin: 8px 0;
}

.arrow-down {
    font-size: 32px;
    color: #1fc47e;
    text-align: center;
    font-weight: 700;
}

.diagram-image {
    padding: 40px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Case Studies Pagination */
.case-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #1fc47e;
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.pagination-btn:hover {
    background: #1aaa6d;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(31, 196, 126, 0.3);
}

.pagination-btn .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.pagination-numbers {
    display: flex;
    gap: 8px;
}

.pagination-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #fff;
    color: #444;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.pagination-number:hover {
    background: #f8f9fa;
    border-color: #1fc47e;
    color: #1fc47e;
}

.pagination-number.active {
    background: #1fc47e;
    color: #fff;
    border-color: #1fc47e;
    cursor: default;
}

.no-cases {
    text-align: center;
    padding: 80px 20px;
}

.no-cases p {
    font-size: 18px;
    color: #666;
}

/* About Us Page */
.about-hero {
    padding: 100px 0 80px;
    text-align: center;
    background: linear-gradient(135deg, #1a1a4e 0%, #2d2d6e 100%);
    color: #fff;
    position: relative;
    background-size: cover;
    background-position: center;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 78, 0.85);
}

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

.about-hero h1 {
    font-family: 'DM Sans', Sans-serif;
    font-size: 50px;
    font-weight: 700;
    line-height: 70px;
    color: #fff;
    margin-bottom: 15px;
}

.about-hero .breadcrumb {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
}

.about-content {
    padding: 80px 0;
    background: #fff;
}

.about-section {
    margin-bottom: 80px;
}

.section-label {
    font-size: 16px;
    font-weight: 600;
    color: #1fc47e;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.about-full-width {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.about-full-width h2 {
    font-size: 36px;
    font-weight: 700;
    color: #2d3142;
    margin-bottom: 25px;
}

.about-content-text {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

.about-content-text p {
    margin-bottom: 20px;
}

.about-content-text ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.about-content-text ul li {
    padding: 10px 0 10px 30px;
    position: relative;
    line-height: 1.8;
}

.about-content-text ul li::before {
    content: '●';
    position: absolute;
    left: 0;
    color: #1fc47e;
    font-size: 20px;
    line-height: 1.4;
}

/* Two Column Layout */
.about-two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-two-column.image-left {
    grid-template-columns: 400px 1fr;
}

.about-two-column.image-right {
    grid-template-columns: 1fr 400px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.about-image-centered {
    margin-top: 40px;
    text-align: center;
}

.about-image-centered img {
    max-width: 600px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Three Column Layout */
.about-three-column {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 30px;
}

.about-three-column > div,
.about-three-column > p {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
}

/* Four Column Layout */
.about-four-column {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.about-four-column > div,
.about-four-column > p {
    font-size: 14px;
    line-height: 1.7;
    color: #444;
}

.no-content {
    text-align: center;
    padding: 60px 20px;
}

.no-content p {
    font-size: 18px;
    color: #666;
}

/* Responsive Design for About Us */
@media (max-width: 1024px) {
    .about-two-column,
    .about-two-column.image-left,
    .about-two-column.image-right {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-three-column {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-four-column {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 40px;
    }
    
    .about-full-width h2 {
        font-size: 28px;
    }
    
    .about-four-column {
        grid-template-columns: 1fr;
    }
}

/* Responsive Design for Case Studies */
@media (max-width: 1024px) {
    .diagram-flow {
        flex-direction: column;
    }
    
    .diagram-box {
        width: 100%;
        max-width: 400px;
    }
    
    .arrow {
        transform: rotate(90deg);
    }
    
    .diagram-label {
        position: static;
        text-align: center;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .cases-hero h1 {
        font-size: 36px;
    }
    
    .case-study-title {
        font-size: 24px;
    }
    
    .case-diagram {
        padding: 25px 20px;
    }
}

/* Contact Page */
.contact-us-section {
    padding: 80px 0 100px;
    background: #fff;
}

.contact-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: start;
}

.contact-info h1 {
    font-family: 'DM Sans', Sans-serif;
    font-size: 50px;
    font-weight: 700;
    line-height: 60px;
    color: #2D2A52;
    margin-bottom: 20px;
}

.contact-intro {
    color: #7a7a8c;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 380px;
}

.contact-email {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-icon {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.contact-email a {
    color: #2D2A52;
    font-size: 16px;
    text-decoration: underline;
}

.contact-location {
    margin-top: 40px;
}

.contact-location h2 {
    font-family: 'DM Sans', Sans-serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 50px;
    color: #12AD5F;
    margin-bottom: 16px;
}

.location-address {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #2D2A52;
    font-size: 16px;
}

.contact-form-card {
    background: #f0f0f2;
    border-radius: 16px;
    padding: 40px 36px;
}

.contact-form-card h2 {
    font-family: 'DM Sans', Sans-serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 50px;
    color: #2D2A52;
    margin-bottom: 8px;
}

.contact-form-subtitle {
    color: #7a7a8c;
    font-size: 15px;
    margin-bottom: 28px;
}

/* Custom Contact Form styling */
.contact-custom-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-custom-form .form-field {
    display: flex;
    flex-direction: column;
}

.contact-custom-form label {
    font-size: 11px;
    font-weight: 700;
    color: #2D2A52;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.contact-custom-form input[type="text"],
.contact-custom-form input[type="email"],
.contact-custom-form textarea {
    width: 100%;
    border: 1px solid #d7d7db;
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 15px;
    color: #2D2A52;
    background: #fff;
    font-family: 'Montserrat', sans-serif;
}

.contact-custom-form input::placeholder,
.contact-custom-form textarea::placeholder {
    color: #a0a0a8;
}

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

.contact-custom-form .form-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: end;
}

.contact-custom-form .form-name {
    display: flex;
    flex-direction: column;
}

.contact-custom-form .btn-submit {
    background: #12AD5F;
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    transition: background 0.2s;
    height: fit-content;
}

.contact-custom-form .btn-submit:hover {
    background: #0f9a55;
}

/* Contact Form 7 styling (fallback) */
.contact-form-wrapper .wpcf7-form {
    display: grid;
    gap: 14px;
}

.contact-form-wrapper .wpcf7-form label {
    font-size: 11px;
    font-weight: 700;
    color: #2D2A52;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    margin-bottom: 6px;
    display: block;
}

.contact-form-wrapper .wpcf7-form input[type="text"],
.contact-form-wrapper .wpcf7-form input[type="email"],
.contact-form-wrapper .wpcf7-form textarea {
    width: 100%;
    border: 1px solid #d7d7db;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 14px;
    color: #2D2A52;
    background: #fff;
}

.contact-form-wrapper .wpcf7-form textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form-wrapper .wpcf7-form .wpcf7-submit {
    background: #12AD5F;
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 10px 26px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    align-self: start;
}

.contact-form-wrapper .wpcf7-form .wpcf7-submit:hover {
    background: #0f9a55;
}

@media (max-width: 900px) {
    .contact-us-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-custom-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-custom-form .btn-submit {
        width: 100%;
    }
}

/* Footer */
.site-footer {
    background: black;
    padding: 50px 0;
    color: #fff;
    font-size: 14px;
}

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

.footer-left {
    display: flex;
    flex-direction: column;
}

.footer-brand {
    margin-bottom: 12px;
}

.footer-brand img {
    height: 70px;
    width: auto;
    display: block;
}

.footer-tagline {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 16px;
    color: rgba(255,255,255,0.95);
    line-height: 1.5;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    color: rgba(255,255,255,0.8);
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-social a:hover {
    color: #fff;
}

.footer-social svg {
    width: 24px;
    height: 24px;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.footer-column h3 {
    font-size: 12px;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    color: rgba(255,255,255,0.6);
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: rgba(255,255,255,0.9);
    transition: color 0.3s ease;
    font-size: 15px;
}

.footer-column a:hover {
    color: #fff;
}

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

/* Responsive */
@media (max-width: 900px) {
    .header-container {
        flex-wrap: wrap;
        gap: 15px;
    }

    .main-navigation {
        order: 3;
        width: 100%;
    }

    .main-navigation ul {
        flex-wrap: wrap;
        gap: 16px;
        font-size: 12px;
        justify-content: center;
    }

    .contact-button {
        font-size: 13px;
        padding: 8px 20px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-text {
        font-size: 15px;
    }

    .hero-section {
        min-height: 500px;
    }

    .region-diagram {
        padding: 20px 10px;
    }

    .region-diagram svg {
        transform: scale(0.7);
        transform-origin: center;
    }

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

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

    .contact-form-grid textarea {
        grid-column: span 1;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (min-width: 901px) and (max-width: 1100px) {
    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ========================================
   Product Page Styles
======================================== */

/* Product Hero */
.product-hero {
    background: #fff;
    color: #1a1a4e;
    padding: 80px 0;
    text-align: center;
}

.product-hero-title {
    font-family: 'DM Sans', Sans-serif;
    font-size: 50px;
    font-weight: 700;
    line-height: 70px;
    color: #2D2A52;
    margin-bottom: 20px;
}

.product-hero-subtitle {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 30px;
    color: #666;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.product-hero .cta-button {
    display: inline-block;
    background: #1fc47e;
    color: #fff;
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 16px;
}

.product-hero .cta-button:hover {
    background: #1aad6d;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(31, 196, 126, 0.4);
}

/* Product Story Section */
.product-story {
    padding: 70px 0;
    text-align: center;
    background: #fff;
}

.product-story-title {
    font-family: 'DM Sans', Sans-serif;
    font-size: 50px;
    font-weight: 700;
    line-height: 70px;
    color: #2D2A52;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.product-story-subtitle {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
}

/* Product Category Sections */
.product-category {
    padding: 60px 0;
    background: #fff;
}

.product-category:nth-child(even) {
    background: #f8f9fa;
}

.category-title {
    font-family: 'DM Sans', Sans-serif;
    text-align: center;
    font-size: 50px;
    font-weight: 700;
    line-height: 70px;
    color: #2D2A52;
    margin-bottom: 50px;
}

/* Services Grid (2 per row) */
.product-page .services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 760px;
    width: 100%;
    margin: 0 auto;
}

.product-page .service-icon{
    height: 240px;
}

.service-card {
    background: #fff;
    padding: 10px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #ddd;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: auto;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-color: #1fc47e;
}

.service-icon {
    margin-bottom: 40px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon img {
   height: 239px;
  object-fit: cover;
  object-position: center center;
  border-style: none;
  border-radius: 10px 10px 10px 10px;
}

.service-title {
    font-family: 'DM Sans', Sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #2D2A52;
    margin-bottom: 25px;
    line-height: 1.3;
}

.service-description {
    font-size: 17px;
    color: #666;
    line-height: 1.8;
}

/* Product CTA Section */
.product-cta {
    padding: 70px 0;
    text-align: center;
    background: #f8f9fa;
}

.product-cta-text {
    font-size: 18px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 35px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.product-cta .cta-button {
    display: inline-block;
    background: #1fc47e;
    color: #fff;
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 16px;
}

.product-cta .cta-button:hover {
    background: #1aad6d;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(31, 196, 126, 0.4);
}

/* Product Page Responsive */
@media (max-width: 768px) {
    .product-hero {
        padding: 60px 0;
    }
    
    .product-hero-title {
        font-size: 28px;
        line-height: 1.3;
    }
    
    .product-hero-subtitle {
        font-size: 15px;
    }
    
    .product-story {
        padding: 50px 0;
    }
    
    .product-story-title {
        font-size: 26px;
        line-height: 1.3;
    }
    
    .product-category {
        padding: 40px 0;
    }
    
    .category-title {
        font-size: 24px;
        line-height: 1.3;
        margin-bottom: 30px;
    }
    
    .product-page .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 10px;
    }
    
    .product-page .service-icon {
        height: 180px;
    }
    
    .service-card {
        padding: 15px;
    }
    
    .service-icon img {
        height: 180px;
    }
    
    .service-title {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .service-description {
        font-size: 14px;
        line-height: 1.7;
    }
    
    .product-cta {
        padding: 50px 0;
    }
    
    .product-cta-text {
        font-size: 15px;
    }
    
    .product-hero .cta-button,
    .product-cta .cta-button {
        padding: 12px 30px;
        font-size: 15px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .product-hero-title {
        font-size: 38px;
    }
    
    .product-story-title {
        font-size: 32px;
    }
    
    .category-title {
        font-size: 28px;
    }
}

/* ========================================
   Comprehensive Mobile Responsive Styles
======================================== */

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

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #2D2A52;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Tablet Styles */
@media (max-width: 1024px) {
    .container {
        padding: 0 24px;
    }
    
    /* Header */
    .site-header {
        height: auto;
        padding: 15px 0;
    }
    
    .header-container {
        grid-template-columns: 1fr auto auto;
        gap: 20px;
    }
    
    .site-logo img {
        height: 50px;
    }
    
    .main-navigation ul {
        gap: 16px;
        font-size: 14px;
    }
    
    .contact-button {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    /* Hero */
    .hero-title {
        font-size: 48px;
    }
    
    .hero-section {
        min-height: 450px;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 250px 1fr;
        gap: 50px;
    }
    
    .footer-columns {
        gap: 40px;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    /* Header Mobile */
    .site-header {
        height: auto;
        padding: 15px 0 0;
        position: relative;
    }
    
    .header-container {
        display: flex !important;
        flex-wrap: wrap;
        justify-content: space-between !important;
        align-items: center;
        width: 100%;
    }
    
    .site-logo {
        flex: 0 0 auto;
    }
    
    .site-logo img {
        height: 45px;
    }
    
    .mobile-menu-toggle {
        display: block;
        flex: 0 0 auto;
    }
    
    .main-navigation {
        display: none;
        width: 100%;
        order: 3;
        padding-top: 12px;
        border-top: 1px solid #eee;
        margin-top: 12px;
    }
    
    .main-navigation.active {
        display: block;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 0;
        text-align: center;
    }
    
    .main-navigation li {
        border-bottom: 1px solid #f0f0f0;
    }
    
    .main-navigation li:last-child {
        border-bottom: none;
    }
    
    .main-navigation a {
        display: block;
        padding: 12px 0;
        font-size: 16px;
    }
    
    .contact-button {
        display: none;
        width: 100%;
        text-align: center;
        order: 4;
        margin: 10px 0 12px;
        padding: 14px 20px;
        font-size: 16px;
    }
    
    .main-navigation.active + .contact-button,
    .header-container .contact-button.mobile-show {
        display: block;
    }
    
    /* Hero Mobile */
    .hero-section {
        min-height: auto;
        padding: 60px 0;
    }
    
    .hero-section .container {
        padding: 40px 16px;
    }
    
    .hero-title {
        font-size: 32px;
        line-height: 1.2;
        margin-bottom: 16px;
    }
    
    .hero-text {
        font-size: 15px;
        margin-bottom: 25px;
        line-height: 1.6;
    }
    
    .hero-link {
        padding: 12px 28px;
        font-size: 14px;
    }
    
    /* Services Mobile */
    .services-section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .section-subtitle {
        font-size: 14px;
        margin-bottom: 30px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-item {
        padding: 25px 20px;
    }
    
    .service-item h3 {
        font-size: 17px;
        min-height: auto;
    }
    
    .service-item p {
        font-size: 14px;
    }
    
    /* About Page Mobile */
    .about-hero {
        padding: 50px 0 30px;
    }
    
    .about-hero h1 {
        font-size: 32px;
        line-height: 1.2;
    }
    
    .about-hero-subtitle {
        font-size: 15px;
    }
    
    .about-section {
        padding: 40px 0;
    }
    
    .about-full-width h2 {
        font-size: 24px;
        margin-bottom: 16px;
    }
    
    .about-full-width p {
        font-size: 15px;
    }
    
    .about-two-column,
    .about-two-column.image-left,
    .about-two-column.image-right {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .about-three-column {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .about-four-column {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .about-content-box h3 {
        font-size: 18px;
    }
    
    .about-content-box p {
        font-size: 14px;
    }
    
    /* Cases Page Mobile */
    .cases-hero {
        padding: 50px 0 40px;
    }
    
    .cases-hero h1 {
        font-size: 32px;
    }
    
    .cases-subtitle {
        font-size: 15px;
    }
    
    .cases-content {
        padding: 30px 0 60px;
    }
    
    .case-study-item {
        margin-bottom: 60px;
    }
    
    .case-study-title {
        font-size: 22px;
        margin-bottom: 20px;
    }
    
    .case-problem h3,
    .case-solution h3 {
        font-size: 14px;
    }
    
    .case-problem p,
    .case-solution p {
        font-size: 14px;
    }
    
    .case-diagram {
        margin-top: 30px;
        padding: 20px 15px;
    }
    
    .case-diagram h4 {
        font-size: 16px;
    }
    
    .diagram-flow {
        gap: 15px;
    }
    
    .diagram-box {
        width: 100%;
        padding: 20px 15px;
    }
    
    .diagram-box p {
        font-size: 12px;
    }
    
    .diagram-result-box {
        padding: 20px;
        font-size: 14px;
    }
    
    /* Product Page Mobile */
    .product-hero {
        padding: 50px 0;
    }
    
    .product-hero-title {
        font-size: 28px;
        line-height: 1.3;
    }
    
    .product-hero-subtitle {
        font-size: 15px;
    }
    
    .product-story {
        padding: 40px 0;
    }
    
    .product-story-title {
        font-size: 24px;
    }
    
    .product-story-text {
        font-size: 15px;
    }
    
    .product-category {
        padding: 35px 0;
    }
    
    .category-title {
        font-size: 22px;
        margin-bottom: 25px;
    }
    
    .product-page .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 25px 20px;
    }
    
    .service-title {
        font-size: 18px;
    }
    
    .service-description {
        font-size: 14px;
    }
    
    .product-cta {
        padding: 40px 0;
    }
    
    .product-cta-title {
        font-size: 24px;
    }
    
    .product-cta-text {
        font-size: 15px;
    }
    
    /* Contact Page Mobile */
    .contact-us-section {
        padding: 50px 0 60px;
    }
    
    .contact-us-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info h1 {
        font-size: 32px;
        line-height: 1.2;
        margin-bottom: 16px;
    }
    
    .contact-intro {
        font-size: 15px;
    }
    
    .contact-location {
        margin-top: 30px;
    }
    
    .contact-location h2 {
        font-size: 28px;
        line-height: 1.3;
    }
    
    .contact-form-card {
        padding: 25px 20px;
    }
    
    .contact-form-card h2 {
        font-size: 28px;
        line-height: 1.3;
    }
    
    .contact-form-subtitle {
        font-size: 14px;
    }
    
    .contact-custom-form .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-custom-form .btn-submit {
        width: 100%;
    }
    
    /* Footer Mobile */
    .site-footer {
        padding: 40px 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-left {
        align-items: center;
    }
    
    .footer-brand img {
        height: 60px;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }
    
    .footer-column h3 {
        margin-bottom: 12px;
    }
    
    .footer-column li {
        margin-bottom: 8px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    .hero-title {
        font-size: 26px;
    }
    
    .hero-text {
        font-size: 14px;
    }
    
    .section-title {
        font-size: 22px;
    }
    
    .about-hero h1 {
        font-size: 26px;
    }
    
    .cases-hero h1 {
        font-size: 26px;
    }
    
    .contact-info h1 {
        font-size: 26px;
    }
    
    .product-hero-title {
        font-size: 24px;
    }
    
    .category-title {
        font-size: 20px;
    }
    
    .service-card {
        padding: 20px 16px;
    }
    
    .diagram-box {
        padding: 15px 12px;
    }
}

/* ==========================================================================
   PRIVACY POLICY PAGE
   ========================================================================== */

.privacy-hero {
    background: linear-gradient(135deg, #2D2A52 0%, #1a1836 100%);
    padding: 80px 0 60px;
    text-align: center;
    margin-top: 80px;
}

.privacy-hero h1 {
    font-family: 'DM Sans', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.privacy-content {
    padding: 60px 0 80px;
    background: #ffffff;
}

.privacy-content .container {
    max-width: 800px;
}

.privacy-section {
    margin-bottom: 40px;
}

.privacy-section:last-child {
    margin-bottom: 0;
}

.privacy-section h2 {
    font-family: 'DM Sans', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #2D2A52;
    margin-bottom: 16px;
}

.privacy-section p {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #555555;
    margin-bottom: 16px;
}

.privacy-section p:last-child {
    margin-bottom: 0;
}

.privacy-section a {
    color: #12AD5F;
    text-decoration: none;
    transition: color 0.3s ease;
}

.privacy-section a:hover {
    color: #0e8a4c;
    text-decoration: underline;
}

/* Privacy Policy Mobile Responsive */
@media (max-width: 768px) {
    .privacy-hero {
        padding: 60px 0 40px;
        margin-top: 70px;
    }
    
    .privacy-hero h1 {
        font-size: 32px;
    }
    
    .privacy-content {
        padding: 40px 0 60px;
    }
    
    .privacy-section h2 {
        font-size: 20px;
    }
    
    .privacy-section p {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .privacy-hero h1 {
        font-size: 26px;
    }
    
    .privacy-section h2 {
        font-size: 18px;
    }
    
    .privacy-section p {
        font-size: 14px;
    }
}