/*
Theme Name: Om International
Theme URI: https://ominternationalExample.com
Author: Antigravity
Author URI: https://google.com
Description: Custom industrial theme for Om International Group, specializing in Japanese Injection Moulding Machines.
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: om-international
*/

:root {
    --primary-color: #003366;
    /* Deep Navy - Professional, Trust */
    --accent-color: #E63946;
    /* Industrial Red - Machine/Warning/Japan */
    --text-color: #333333;
    --text-light: #666666;
    --bg-white: #FFFFFF;
    --bg-light: #F4F7F6;
    --border-color: #EAEAEA;
    --container-width: 1200px;
    --spacing-unit: 1rem;
    --header-height: 130px;
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.7;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 1rem;
    color: #111;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

/* Layout Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 5rem 0;
}

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

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

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 6px rgba(0, 51, 102, 0.3);
}

.btn-primary:hover {
    background-color: #002244;
    box-shadow: 0 6px 12px rgba(0, 51, 102, 0.4);
    transform: translateY(-2px);
}

.btn-outline {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

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

/* Header */
.site-header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    background: #fff;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.site-branding img {
    height: 120px;
    width: auto;
}

.main-navigation ul {
    display: flex;
    gap: 2.5rem;
}

.main-navigation a {
    font-weight: 500;
    color: #444;
    font-size: 1rem;
    padding: 0.5rem 0;
    position: relative;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s;
}

.main-navigation a:hover::after {
    width: 100%;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.95), rgba(0, 34, 68, 0.9)), url('assets/images/hero-bg.jpg') center/cover;
    color: white;
    padding: 8rem 0;
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}

.hero h1 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Grid System */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

/* =========================================
   Modern Blog Card Styles (Listing)
   ========================================= */
.blog-grid {
    margin-top: 2rem;
}

.post {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.post-thumbnail {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.post-content-wrap {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.entry-header .entry-title {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: #222;
}

.entry-header .entry-title a {
    color: inherit;
    text-decoration: none;
    background-image: linear-gradient(var(--text-color), var(--text-color));
    background-position: 0% 100%;
    background-repeat: no-repeat;
    background-size: 0% 2px;
    transition: background-size .3s;
}

.post:hover .entry-title a {
    background-size: 100% 2px;
}

.entry-summary {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    flex-grow: 1;
}

.entry-footer-meta {
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: #888;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* =========================================
   Single Post Styles (Detail Page)
   ========================================= */
.single-post-container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 3rem 4rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-top: -4rem;
    /* Overlap header effect if desired, or just margin */
    position: relative;
    z-index: 10;
}

.single .entry-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #111;
}

.single .entry-meta {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.single .entry-meta span {
    display: flex;
    align-items: center;
}

.single .entry-content {
    font-size: 1.2rem;
    line-height: 1.9;
    color: #2c2c2c;
}

.single .entry-content p {
    margin-bottom: 1.8rem;
}

.single .entry-content h2 {
    font-size: 1.8rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1rem;
    border-left: 4px solid var(--accent-color);
}

.single .entry-content blockquote {
    background: #f9f9f9;
    border-left: 5px solid var(--primary-color);
    margin: 2.5rem 0;
    padding: 1.5rem 2rem;
    font-style: italic;
    font-size: 1.3rem;
    color: #555;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.single .entry-content img {
    border-radius: var(--radius-md);
    margin: 2rem 0;
    box-shadow: var(--shadow-sm);
}

/* =========================================
   Modern Comments System
   ========================================= */
#comments {
    max-width: 800px;
    margin: 4rem auto 0;
    background: #fff;
    padding: 3rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.comments-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 1rem;
}

.comment-list {
    margin-bottom: 3rem;
}

.comment-body {
    background: #fff;
    border: 1px solid #eee;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    position: relative;
    transition: 0.2s;
}

.comment-body:hover {
    border-color: #ddd;
    box-shadow: var(--shadow-sm);
}

.comment-meta {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.comment-author img.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin-right: 1rem;
    border: 2px solid #eee;
}

.comment-author cite {
    font-style: normal;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1rem;
}

.comment-metadata {
    margin-left: auto;
    font-size: 0.85rem;
    color: #999;
}

.comment-content p {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #444;
}

.reply a {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: #edf2f7;
    color: #4a5568;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: 0.2s;
}

.reply a:hover {
    background: var(--primary-color);
    color: #fff;
}

/* Comment Form */
.comment-form-comment label,
.comment-form-author label,
.comment-form-email label,
.comment-form-url label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

#commentform textarea,
#commentform input[type="text"],
#commentform input[type="email"],
#commentform input[type="url"] {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    background: #fcfcfc;
    transition: 0.3s;
}

#commentform textarea:focus,
#commentform input:focus {
    border-color: var(--primary-color);
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.1);
}

.form-submit .submit {
    /* btn styles */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;

    /* btn-primary styles */
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 6px rgba(0, 51, 102, 0.3);
}

.form-submit .submit:hover {
    background-color: #002244;
    box-shadow: 0 6px 12px rgba(0, 51, 102, 0.4);
    transform: translateY(-2px);
}

.form-submit .submit:active {
    transform: scale(0.98);
}

/* Footer */
.site-footer {
    background: #1a1a1a;
    color: #a0a0a0;
    padding: 5rem 0 2rem;
    margin-top: 6rem;
}

.site-footer h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.site-footer a {
    color: #a0a0a0;
    transition: color 0.3s;
}

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

.footer-contact p {
    margin-bottom: 0.5rem;
}


/* Styling the Contact Form 7 form */
.wpcf7 form {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.wpcf7 label {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

.wpcf7 input[type="submit"],
.wpcf7 .wpcf7-submit {
    background-color: #007bff;
    color: #fff;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.wpcf7 input[type="submit"]:hover,
.wpcf7 .wpcf7-submit:hover {
    background-color: #0056b3;
}

.wpcf7 .wpcf7-response-output {
    font-size: 1rem;
    margin-top: 1rem;
    color: #ff0000; /* Or green for success messages */
}



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

.brand-item i {
    font-size: 42px;
    color: var(--primary);
    margin-bottom: 10px;
    display: block;
}

.brand-item h3 {
    font-size: 18px;
    font-weight: 600;
}

/* 
.hero {
    position: relative;
    min-height: 85vh;
    background: url('https://ominternationalgroup.co/wp-content/uploads/2026/01/hero-bg.jpg') center center / cover no-repeat;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
} */
.hero {
    position: relative;
    min-height: 85vh;
    background-image: url('https://ominternationalgroup.co/wp-content/uploads/2026/01/csm_Website-Headerbanner-Kurzfristliste_3db43324c4.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    color: #fff;
}


/* Dark Overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(10, 40, 80, 0.1),
        rgba(10, 40, 80, 0.1)
    );
    z-index: 1;
}

/* Content Above Overlay */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

/* Typography */
.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(10, 40, 80, 0.85);
    z-index: 1;
}

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





.brands-section {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 8px;
}

.brands-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    list-style: none;
    margin-top: 2rem;
    padding: 0;
}

.brands-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.6rem 1.2rem;
    background: #fff;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.brands-list li i {
    color: var(--primary);
    font-size: 18px;
}





.pan-india-cards {
    margin-top: 1rem;
/*     padding: 2.5rem; */
/*     background: #071a2b; */
/*     border-radius: 14px; */
}

.pan-heading {
    color: #ffffff;
    font-size: 1.6rem;
    margin-bottom: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.pan-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.4rem;
}

.pan-card {
    background: #ffffff;
    color: #000;
    padding: 1rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.pan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.25);
    background: orange;
    color: #fff;
}

/* Tablet */
@media (max-width: 991px) {
    .pan-card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile */
@media (max-width: 576px) {
    .pan-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .pan-india-cards {
        padding: 1.5rem;
    }
}


.hero {
    position: relative;
    width: 100%;
    height: 90vh;
    overflow: hidden;
}

.hero-slider {
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
}

.hero-slide .content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero-slide h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-slide p {
    font-size: 1.2rem;
    max-width: 750px;
    margin: 0 auto 2rem;
}

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

/* Buttons */
.btn {
    padding: 0.9rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
}

.btn-orange {
    background: orange;
    color: #fff;
}

.btn-outline {
    border: 2px solid #fff;
    color: #fff;
}

/* Mobile */
@media (max-width: 768px) {
    .hero-slide h1 {
        font-size: 2rem;
    }

    .buttons {
        flex-direction: column;
    }
}


/* Brands Section */
.brands-section {
    background: #0b1f3a;
    padding: 5rem 0;
    color: #fff;
}

.brands-section h2 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.brands-desc {
    max-width: 600px;
    margin: 0 auto 3rem;
    opacity: 0.9;
}

/* Slider */
.brands-slider {
    overflow: hidden;
    position: relative;
}

.brands-track {
    display: flex;
    gap: 2rem;
    animation: brandScroll 18s linear infinite;
}

/* Brand Card */

.brand-card h2{
	color:#ffffff !important;
}
.brand-card {
    background: #fff;
    color: #000;
    min-width: 220px;
    padding: 2rem 1rem;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.brand-card:hover {
    transform: translateY(-6px);
}

/* Animation */
@keyframes brandScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .brand-card {
        min-width: 180px;
        font-size: 1.05rem;
    }
}
