/*
Theme Name: ICT Solutions Pro
Theme URI: https://example.com
Author: Auxiliary Technologies Limited
Author URI: https://example.com
Description: A professional ICT company theme based on the Electro layout. Features services showcase, technology solutions, and modern corporate design.
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: ict-solutions-pro
Tags: business, technology, responsive, custom-menu, featured-images, footer-widgets, full-width-template
*/

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary:    #D10024;
    --dark:       #15161D;
    --dark2:      #1E1F29;
    --accent:     #F5F5F5;
    --text:       #333;
    --muted:      #888;
    --border:     #E4E7ED;
    --white:      #FFFFFF;
    --nav-bg:     #1E1F29;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--primary); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.row { display: flex; flex-wrap: wrap; margin: 0 -15px; }
[class*="col-"] { padding: 0 15px; }
.col-3  { flex: 0 0 25%;  max-width: 25%; }
.col-4  { flex: 0 0 33.333%; max-width: 33.333%; }
.col-6  { flex: 0 0 50%;  max-width: 50%; }
.col-8  { flex: 0 0 66.666%; max-width: 66.666%; }
.col-9  { flex: 0 0 75%;  max-width: 75%; }
.col-12 { flex: 0 0 100%; max-width: 100%; }

.section { padding: 30px 0; }
.clearfix::after { content: ''; display: table; clear: both; }
.text-center { text-align: center; }
.text-uppercase { text-transform: uppercase; }

/* =============================================
   TOP HEADER BAR
   ============================================= */
#top-header {
    background: var(--dark);
    color: #ccc;
    font-size: 12px;
    padding: 10px 0;
}
#top-header .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
#top-header ul { display: flex; gap: 18px; flex-wrap: wrap; }
#top-header ul li a { color: #ccc; display: flex; align-items: center; gap: 6px; transition: color .2s; }
#top-header ul li a:hover { color: var(--white); }
#top-header .fa { color: var(--primary); }

/* =============================================
   MAIN HEADER
   ============================================= */
#header {
    background: var(--white);
    padding: 18px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,.07);
    position: sticky;
    top: 0;
    z-index: 999;
}
#header .row { align-items: center; }
.header-logo img { height: 62px; width: auto; }

/* Search */
.header-search { display: flex; border: 2px solid var(--primary); border-radius: 3px; overflow: hidden; }
.header-search input {
    flex: 1;
    padding: 10px 14px;
    border: none;
    outline: none;
    font-size: 13px;
    font-family: inherit;
}
.header-search .search-btn {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 0 22px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .5px;
    transition: background .2s;
}
.header-search .search-btn:hover { background: #a8001c; }

/* Header actions */
.header-ctn { display: flex; align-items: center; justify-content: flex-end; gap: 24px; }
.header-ctn > div > a { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; color: var(--dark); text-transform: uppercase; transition: color .2s; }
.header-ctn > div > a:hover { color: var(--primary); }
.header-ctn .fa { font-size: 22px; }

/* =============================================
   NAVIGATION
   ============================================= */
#navigation {
    background: var(--nav-bg);
}
.main-nav { display: flex; flex-wrap: wrap; gap: 0; }
.main-nav li a {
    display: block;
    padding: 14px 20px;
    color: #ccc;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .4px;
    transition: background .2s, color .2s;
}
.main-nav li a:hover,
.main-nav li.active a {
    background: var(--primary);
    color: var(--white);
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero-section {
    background: linear-gradient(135deg, var(--dark) 0%, #2d3561 60%, var(--dark2) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(209,0,36,.08);
}
.hero-content { max-width: 580px; }
.hero-tag {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 5px 14px;
    border-radius: 2px;
    margin-bottom: 20px;
}
.hero-content h1 {
    font-size: 46px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 20px;
}
.hero-content h1 span { color: var(--primary); }
.hero-content p { color: rgba(255,255,255,.75); font-size: 15px; margin-bottom: 32px; line-height: 1.7; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
    background: var(--primary);
    color: var(--white);
    padding: 13px 32px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .5px;
    border-radius: 2px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background .2s, transform .2s;
}
.btn-primary:hover { background: #a8001c; color: var(--white); transform: translateY(-2px); }
.btn-outline {
    border: 2px solid rgba(255,255,255,.4);
    color: var(--white);
    padding: 11px 30px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .5px;
    border-radius: 2px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: border-color .2s, background .2s;
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.1); color: var(--white); }

.hero-stats { display: flex; gap: 36px; margin-top: 40px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.12); }
.hero-stat { text-align: center; }
.hero-stat .number { font-size: 32px; font-weight: 700; color: var(--white); }
.hero-stat .number span { color: var(--primary); }
.hero-stat .label { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,.5); margin-top: 4px; }

.hero-visual { display: flex; flex-direction: column; gap: 16px; align-items: flex-end; }
.hero-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 10px;
    padding: 20px 24px;
    backdrop-filter: blur(8px);
    width: 100%;
    max-width: 320px;
    transition: transform .3s;
}
.hero-card:hover { transform: translateX(-6px); }
.hero-card .card-icon { font-size: 28px; margin-bottom: 10px; }
.hero-card h4 { color: var(--white); font-size: 14px; font-weight: 700; margin-bottom: 5px; }
.hero-card p { color: rgba(255,255,255,.5); font-size: 12px; line-height: 1.5; }

/* =============================================
   SERVICE CATEGORY CARDS
   ============================================= */
.service-categories { background: var(--accent); }
.service-cat-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    transition: transform .3s, box-shadow .3s;
    height: 100%;
}
.service-cat-card:hover { transform: translateY(-5px); box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.service-cat-img {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%);
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 52px;
    color: var(--primary);
    position: relative;
    overflow: hidden;
}
.service-cat-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(209,0,36,.15) 0%, transparent 70%);
}
.service-cat-body { padding: 20px; }
.service-cat-body h3 { font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.service-cat-body p { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 14px; }
.cta-link { color: var(--primary); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; display: inline-flex; align-items: center; gap: 6px; transition: gap .2s; }
.cta-link:hover { color: var(--primary); gap: 10px; }

/* =============================================
   SECTION TITLES
   ============================================= */
.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--border);
}
.section-title h3.title {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: .5px;
    position: relative;
    padding-left: 16px;
}
.section-title h3.title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 22px;
    background: var(--primary);
    border-radius: 2px;
}
.section-nav { display: flex; gap: 8px; flex-wrap: wrap; }
.section-nav a {
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    border: 1px solid var(--border);
    border-radius: 2px;
    color: var(--muted);
    transition: all .2s;
}
.section-nav a:hover,
.section-nav a.active { background: var(--primary); border-color: var(--primary); color: var(--white); }

/* =============================================
   SERVICE / PRODUCT CARDS
   ============================================= */
.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    transition: box-shadow .3s, transform .3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.service-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.1); transform: translateY(-3px); }
.service-card-img {
    background: linear-gradient(135deg, #0f1628 0%, #1a2a6c 100%);
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: rgba(255,255,255,.2);
    position: relative;
    overflow: hidden;
}
.service-card-img .badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 2px;
}
.service-card-img .icon-main { font-size: 70px; z-index: 1; position: relative; }
.service-card-body { padding: 18px; flex: 1; }
.service-card-body .category { font-size: 11px; text-transform: uppercase; letter-spacing: .8px; color: var(--primary); font-weight: 700; margin-bottom: 6px; }
.service-card-body h3 { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 8px; line-height: 1.4; }
.service-card-body p { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 14px; }
.service-card-price { font-size: 18px; font-weight: 700; color: var(--dark); }
.service-card-price del { font-size: 13px; color: var(--muted); font-weight: 400; margin-left: 6px; }
.service-card-rating { display: flex; gap: 2px; margin: 8px 0 12px; }
.service-card-rating .fa-star { color: #FFB800; font-size: 12px; }
.service-card-rating .fa-star-o { color: var(--border); font-size: 12px; }
.service-card-actions { display: flex; gap: 8px; padding: 12px 18px; border-top: 1px solid var(--border); }
.btn-cart {
    flex: 1;
    background: var(--dark);
    color: var(--white);
    border: none;
    padding: 10px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    transition: background .2s;
    border-radius: 2px;
}
.btn-cart:hover { background: var(--primary); }
.btn-icon {
    background: var(--accent);
    border: 1px solid var(--border);
    padding: 9px 12px;
    cursor: pointer;
    font-size: 14px;
    color: var(--muted);
    transition: all .2s;
    border-radius: 2px;
    font-family: inherit;
}
.btn-icon:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }

/* =============================================
   WHY CHOOSE US / FEATURES STRIP
   ============================================= */
.features-strip { background: var(--dark); color: var(--white); padding: 40px 0; }
.feature-item { display: flex; align-items: center; gap: 16px; padding: 10px; }
.feature-icon { font-size: 36px; color: var(--primary); flex-shrink: 0; }
.feature-text h4 { font-size: 14px; font-weight: 700; text-transform: uppercase; margin-bottom: 4px; }
.feature-text p { font-size: 12px; color: rgba(255,255,255,.5); }

/* =============================================
   HOT DEAL / PROMO BANNER
   ============================================= */
#hot-deal {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    text-align: center;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}
#hot-deal::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    border: 1px solid rgba(209,0,36,.2);
}
.deal-countdown { display: flex; justify-content: center; gap: 16px; margin-bottom: 30px; }
.deal-countdown li {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 8px;
    padding: 16px 24px;
    min-width: 90px;
    text-align: center;
    backdrop-filter: blur(6px);
}
.deal-countdown li h3 { font-size: 36px; font-weight: 700; color: var(--white); line-height: 1; }
.deal-countdown li span { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,.5); }
#hot-deal h2 { font-size: 30px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
#hot-deal p { color: rgba(255,255,255,.6); font-size: 15px; margin-bottom: 28px; }

/* =============================================
   NEWSLETTER
   ============================================= */
#newsletter {
    background: var(--primary);
    padding: 50px 0;
    text-align: center;
}
.newsletter p { font-size: 20px; color: var(--white); margin-bottom: 20px; font-weight: 400; }
.newsletter p strong { font-weight: 700; }
.newsletter-form { display: flex; justify-content: center; max-width: 480px; margin: 0 auto 24px; gap: 0; border-radius: 3px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,.2); }
.newsletter-form input {
    flex: 1;
    padding: 13px 18px;
    border: none;
    outline: none;
    font-size: 13px;
    font-family: inherit;
}
.newsletter-form button {
    background: var(--dark);
    color: var(--white);
    border: none;
    padding: 0 24px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .5px;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background .2s;
}
.newsletter-form button:hover { background: #111; }
.newsletter-socials { display: flex; justify-content: center; gap: 12px; }
.newsletter-socials a {
    width: 36px; height: 36px;
    background: rgba(255,255,255,.2);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--white);
    font-size: 15px;
    transition: background .2s;
}
.newsletter-socials a:hover { background: rgba(255,255,255,.4); }

/* =============================================
   FOOTER
   ============================================= */
#footer { background: var(--dark2); color: rgba(255,255,255,.7); }
.footer-top { padding: 50px 0 30px; border-bottom: 1px solid rgba(255,255,255,.07); }
.footer-widget { margin-bottom: 24px; }
.footer-widget h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: .8px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}
.footer-widget p { font-size: 13px; line-height: 1.7; margin-bottom: 16px; }
.footer-links li { margin-bottom: 9px; }
.footer-links li a {
    font-size: 13px;
    color: rgba(255,255,255,.6);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color .2s, gap .2s;
}
.footer-links li a:hover { color: var(--white); gap: 12px; }
.footer-links .fa { color: var(--primary); font-size: 12px; }
.footer-bottom {
    background: var(--dark);
    padding: 18px 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,.4);
}
.footer-bottom a { color: var(--primary); }
.footer-bottom a:hover { color: var(--white); }

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials-section { background: var(--accent); padding: 60px 0; }
.testimonial-card {
    background: var(--white);
    border-radius: 8px;
    padding: 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    height: 100%;
    position: relative;
}
.testimonial-card::before {
    content: '\201C';
    font-size: 80px;
    color: var(--primary);
    opacity: .15;
    position: absolute;
    top: 10px;
    left: 18px;
    line-height: 1;
    font-family: Georgia, serif;
}
.testimonial-text { font-size: 13px; line-height: 1.8; color: var(--muted); margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--primary); display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 16px; font-weight: 700; flex-shrink: 0; }
.author-info h4 { font-size: 13px; font-weight: 700; color: var(--dark); }
.author-info span { font-size: 11px; color: var(--primary); }

/* =============================================
   WORDPRESS SPECIFIC
   ============================================= */
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 12px; color: var(--muted); text-align: center; margin-top: 6px; }
.alignleft { float: left; margin: 0 20px 10px 0; }
.alignright { float: right; margin: 0 0 10px 20px; }
.aligncenter { display: block; margin: 10px auto; }
.screen-reader-text { clip: rect(1px,1px,1px,1px); position: absolute; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 992px) {
    .col-4 { flex: 0 0 50%; max-width: 50%; }
    .hero-content h1 { font-size: 34px; }
}
@media (max-width: 768px) {
    .col-3, .col-4, .col-6, .col-8, .col-9 { flex: 0 0 100%; max-width: 100%; }
    .hero-section .row { flex-direction: column; }
    .hero-visual { display: none; }
    .header-search { display: none; }
    .main-nav li a { padding: 12px 14px; font-size: 12px; }
    #top-header .pull-right { display: none; }
    .hero-stats { gap: 20px; }
    .deal-countdown { gap: 8px; }
    .deal-countdown li { padding: 12px 14px; min-width: 68px; }
    .deal-countdown li h3 { font-size: 26px; }
    .features-strip .col-3 { flex: 0 0 50%; max-width: 50%; }
}
