/*
Theme Name: iTradeFairs
Theme URI: https://itradefairs.in/
Author: Interglobe Trade Fairs Pvt Ltd
Author URI: https://itradefairs.in/
Description: A modern, responsive WordPress theme for INTERGLOBE TRADE FAIRS PVT LTD - trade shows, exhibitions, and business networking events organizer based in Navi Mumbai, India.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: itradefairs
Tags: business, corporate, trade-show, exhibition, events, responsive, one-column, two-columns, custom-menu, custom-logo, featured-images, theme-options
*/

/* ============================================
   RESET & BASE STYLES
============================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    color: #555;
    line-height: 1.7;
    font-size: 15px;
    background: #fff;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: #1c2331;
    margin: 0 0 15px;
    line-height: 1.3;
    font-weight: 700;
}
h1 { font-size: 42px; }
h2 { font-size: 34px; }
h3 { font-size: 24px; }
h4 { font-size: 20px; }
p { margin: 0 0 15px; }
a { color: #e7272d; text-decoration: none; transition: all .3s ease; }
a:hover { color: #1c2331; }
img { max-width: 100%; height: auto; display: block; }
ul { padding: 0; margin: 0; list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
.row { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.col { flex: 1; padding: 0 15px; }
.col-6 { flex: 0 0 50%; max-width: 50%; padding: 0 15px; }
.col-4 { flex: 0 0 33.333%; max-width: 33.333%; padding: 0 15px; }
.col-3 { flex: 0 0 25%; max-width: 25%; padding: 0 15px; }

.btn {
    display: inline-block;
    padding: 12px 32px;
    background: #e7272d;
    color: #fff;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
    border: 2px solid #e7272d;
    cursor: pointer;
}
.btn:hover { background: transparent; color: #e7272d; }
.btn-outline { background: transparent; color: #fff; border-color: #fff; }
.btn-outline:hover { background: #fff; color: #e7272d; }

.section { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { position: relative; padding-bottom: 20px; }
.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 60px; height: 3px;
    background: #e7272d;
}
.section-title p { color: #888; max-width: 700px; margin: 0 auto; }

/* ============================================
   HEADER
============================================ */
.top-bar {
    background: #1c2331;
    color: #fff;
    padding: 10px 0;
    font-size: 13px;
}
.top-bar .container { display: flex; justify-content: space-between; flex-wrap: wrap; }
.top-bar a { color: #fff; }
.top-bar a:hover { color: #e7272d; }
.top-bar .info span { margin-right: 20px; }
.top-bar .info i { color: #e7272d; margin-right: 6px; }

.site-header {
    background: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 999;
}
.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.site-logo img { max-height: 60px; }
.site-logo .site-title {
    font-size: 20px;
    font-weight: 700;
    color: #1c2331;
    margin: 0;
}

.main-navigation ul { display: flex; align-items: center; }
.main-navigation li {
    position: relative;
    margin-left: 5px;
}
.main-navigation a {
    display: block;
    padding: 10px 15px;
    color: #1c2331;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
}
.main-navigation a:hover,
.main-navigation .current-menu-item > a {
    color: #e7272d;
}
.main-navigation .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 240px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    display: none;
    flex-direction: column;
    border-top: 3px solid #e7272d;
}
.main-navigation li:hover > .sub-menu { display: flex; }
.main-navigation .sub-menu li { margin: 0; }
.main-navigation .sub-menu a {
    padding: 12px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #1c2331;
}

/* ============================================
   HERO SLIDER
============================================ */
.hero-slider {
    position: relative;
    overflow: hidden;
    height: 600px;
}
.hero-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 1s ease;
}
.hero-slide.active { opacity: 1; z-index: 2; }
.hero-slide::before {
    content: '';
    position: absolute; inset: 0;
    background: rgba(28, 35, 49, 0.65);
}
.hero-content {
    position: relative;
    z-index: 3;
    color: #fff;
    max-width: 800px;
    padding: 0 20px;
    margin: 0 auto;
    text-align: center;
}
.hero-content h1 {
    color: #fff;
    font-size: 50px;
    margin-bottom: 20px;
}
.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    color: rgba(255,255,255,0.9);
}
.hero-content .industry-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 25px 0;
    text-align: left;
    font-size: 15px;
}
.hero-content .industry-list li::before {
    content: '✓ ';
    color: #e7272d;
    font-weight: bold;
}

.slider-nav {
    position: absolute;
    bottom: 30px; left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 10px;
}
.slider-nav button {
    width: 14px; height: 14px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none;
    cursor: pointer;
    transition: all .3s;
}
.slider-nav button.active { background: #e7272d; width: 35px; border-radius: 7px; }

/* ============================================
   SERVICES SECTION
============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.service-box {
    background: #fff;
    padding: 40px 30px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    transition: all .4s ease;
    position: relative;
    border-top: 4px solid transparent;
}
.service-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    border-top-color: #e7272d;
}
.service-box .number {
    position: absolute;
    top: 15px; right: 20px;
    font-size: 80px;
    font-weight: 800;
    color: #f5f5f5;
    line-height: 1;
}
.service-box h3 {
    position: relative;
    margin-bottom: 15px;
}
.service-box p { position: relative; color: #777; }
.service-box .read-more {
    display: inline-block;
    margin-top: 15px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
}

/* CTA Strip */
.cta-strip {
    background: linear-gradient(135deg, #e7272d 0%, #c11f24 100%);
    padding: 60px 0;
    text-align: center;
    color: #fff;
}
.cta-strip h2 { color: #fff; margin-bottom: 25px; font-size: 32px; }
.cta-strip .btn { background: #fff; color: #e7272d; border-color: #fff; }
.cta-strip .btn:hover { background: transparent; color: #fff; }

/* ============================================
   PROJECTS / RECENT WORKS
============================================ */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.project-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4 / 3;
}
.project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.project-item:hover img { transform: scale(1.1); }
.project-item .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(28,35,49,0.9) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 25px;
    color: #fff;
}
.project-item .overlay h3 {
    color: #fff;
    margin: 0;
    font-size: 20px;
}

/* ============================================
   ABOUT / VISION-MISSION
============================================ */
.vision-mission-section { background: #f7f8fa; }
.vm-box {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    height: 100%;
}
.vm-box .icon {
    width: 70px; height: 70px;
    background: #e7272d;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
}
.vm-box h3 { font-size: 26px; margin-bottom: 15px; }

/* ============================================
   FOUNDERS
============================================ */
.founders-section { background: #fff; padding: 80px 0; }
.founders-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.founder-card {
    background: #f7f8fa;
    padding: 35px;
    border-left: 4px solid #e7272d;
    border-radius: 4px;
}
.founder-card h4 { margin-bottom: 10px; color: #e7272d; }
.founder-card .name { font-weight: 700; color: #1c2331; font-size: 18px; margin-top: 15px; }

/* ============================================
   PAGE HEADER / BREADCRUMB
============================================ */
.page-header {
    background: linear-gradient(rgba(28,35,49,0.85), rgba(28,35,49,0.85)),
                url('assets/images/page-header-bg.jpg') center/cover;
    color: #fff;
    padding: 90px 0;
    text-align: center;
}
.page-header h1 { color: #fff; font-size: 44px; }
.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    margin-top: 15px;
}
.breadcrumb a { color: #e7272d; }

/* ============================================
   CONTACT FORM
============================================ */
.contact-info-box {
    background: #1c2331;
    color: #fff;
    padding: 40px;
    border-radius: 8px;
    height: 100%;
}
.contact-info-box h3 { color: #fff; }
.contact-info-box .info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.contact-info-box .info-item:last-child { border: none; }
.contact-info-box .info-item i {
    color: #e7272d;
    font-size: 22px;
    margin-right: 15px;
    min-width: 30px;
}
.contact-info-box a { color: rgba(255,255,255,0.85); }

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    margin-bottom: 18px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 15px;
}
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #e7272d;
}

/* ============================================
   FOOTER
============================================ */
.site-footer {
    background: #1c2331;
    color: #b8c0d0;
    padding: 70px 0 0;
}
.footer-widgets {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}
.site-footer h4 {
    color: #fff;
    margin-bottom: 22px;
    font-size: 18px;
    position: relative;
    padding-bottom: 12px;
}
.site-footer h4::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 40px; height: 2px;
    background: #e7272d;
}
.site-footer a { color: #b8c0d0; }
.site-footer a:hover { color: #e7272d; padding-left: 5px; }
.site-footer ul li { padding: 6px 0; transition: all .3s; }
.footer-logo { max-height: 60px; margin-bottom: 20px; }

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

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 991px) {
    h1 { font-size: 32px; }
    h2 { font-size: 28px; }
    .hero-content h1 { font-size: 36px; }
    .services-grid, .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-widgets { grid-template-columns: repeat(2, 1fr); }
    .col-6, .col-4, .col-3 { flex: 0 0 100%; max-width: 100%; margin-bottom: 30px; }
    .founders-grid { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
    .top-bar { display: none; }
    .menu-toggle { display: block; }
    .main-navigation ul {
        display: none;
        position: absolute;
        top: 100%; left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }
    .main-navigation ul.active { display: flex; }
    .main-navigation li { width: 100%; margin: 0; }
    .main-navigation a { padding: 15px 20px; border-bottom: 1px solid #f0f0f0; }
    .main-navigation .sub-menu { position: static; box-shadow: none; padding-left: 20px; }
    .services-grid, .projects-grid { grid-template-columns: 1fr; }
    .footer-widgets { grid-template-columns: 1fr; }
    .hero-slider { height: 500px; }
    .hero-content h1 { font-size: 28px; }
    .hero-content .industry-list { grid-template-columns: 1fr; }
    .section { padding: 50px 0; }
}
