/*
Theme Name: utell Networks
Author: Studio User
Description: A custom theme for utell Networks.
Version: 1.0.0
*/

/* ==========================================================================
   CSS Variables & Design System
   ========================================================================== */
:root {
    --primary-color: #00153B;
    --primary-dark: #000B22;
    --accent-blue: #0047FF;
    --accent-hover: #0033CC;
    --text-dark: #1A1A1A;
    --text-muted: #6B7280;
    --bg-light: #F8F9FA;
    --white: #FFFFFF;
    
    --font-primary: 'Inter', sans-serif;
    
    --transition: all 0.3s ease;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
}

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

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.bg-light { background-color: var(--bg-light); }

.section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    text-transform: uppercase;
}

.section-title span {
    color: var(--accent-blue);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.875rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

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

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

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

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

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.site-header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: all 0.4s ease;
    background-color: transparent;
}

.site-header.scrolled {
    background-color: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.main-nav-wrapper {
    background-color: transparent;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: all 0.4s ease;
}

.site-header.scrolled .main-nav-wrapper {
    border-bottom: none;
}

.main-nav-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 1.5rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.4s ease;
}

.site-header.scrolled .main-nav-container {
    padding: 1rem 4rem;
}

.site-header .logo img {
    height: 50px;
    width: auto;
    transition: opacity 0.4s ease;
}

.site-header .logo .logo-blue {
    display: none;
}

.site-header.scrolled .logo .logo-white {
    display: none;
}

.site-header.scrolled .logo .logo-blue {
    display: block;
}

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

.main-navigation a {
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 6px;
    transition: color 0.4s ease;
}

.site-header.scrolled .main-navigation a {
    color: var(--primary-dark);
}

.main-navigation a:hover,
.site-header.scrolled .main-navigation a:hover {
    color: var(--accent-blue);
}

.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a,
.main-navigation a.active {
    color: var(--accent-blue);
}

.main-navigation .current-menu-item > a::after,
.main-navigation .current_page_item > a::after,
.main-navigation a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-blue);
}

/* Quick Enquiry Button */
.btn-pill {
    background-color: var(--accent-blue);
    color: var(--white);
    padding: 0.85rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 71, 255, 0.3);
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-pill:hover {
    background-color: var(--accent-hover);
    box-shadow: 0 6px 20px rgba(0, 71, 255, 0.4);
    transform: translateY(-2px);
    color: var(--white);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    /* Background is handled inline in utell-home.php */
    color: var(--white);
    padding: 10rem 2rem 10rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 4rem;
    position: relative;
    z-index: 1;
    display: block;
}

.hero-content {
    max-width: 650px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

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

.hero-actions {
    display: flex;
    gap: 1rem;
}



/* ==========================================================================
   Features Strip
   ========================================================================== */
.features-strip {
    background-color: var(--white);
    margin-top: -3rem;
    position: relative;
    z-index: 10;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    max-width: calc(1440px - 8rem);
    margin-left: auto;
    margin-right: auto;
}

.features-container {
    display: flex;
    justify-content: space-between;
    padding: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 1rem;
    border-right: 1px solid var(--bg-light);
    flex: 1;
}

.feature-item:last-child {
    border-right: none;
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--accent-blue);
}

.feature-text h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.feature-text p {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.2;
}

/* ==========================================================================
   Grid System
   ========================================================================== */
.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-6 { grid-template-columns: repeat(6, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ==========================================================================
   Product Categories
   ========================================================================== */
.category-card {
    background: var(--white);
    border-radius: 8px;
    padding: 1.5rem 1rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid transparent;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-blue);
}

.card-image {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
}

.card-image img {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.category-card h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.category-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Solutions Section
   ========================================================================== */
.solution-card {
    background: var(--primary-color);
    color: var(--white);
    padding: 2rem 1rem;
    border-radius: 8px;
    transition: var(--transition);
}

.solution-card:hover {
    background: var(--accent-blue);
    transform: translateY(-5px);
}

.solution-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.solution-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.solution-card p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
}

/* ==========================================================================
   Why Choose Us
   ========================================================================== */
.reason-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-align: left;
    box-shadow: var(--shadow-sm);
}

.reason-icon i {
    font-size: 2rem;
    color: var(--accent-blue);
}

.reason-text h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--primary-color);
}

.reason-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Featured Products
   ========================================================================== */
.product-card {
    background: var(--white);
    border: 1px solid var(--bg-light);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: left;
    transition: var(--transition);
}

.product-card:hover {
    box-shadow: var(--shadow-md);
}

.product-img {
    margin-bottom: 1rem;
    text-align: center;
}

.product-img img {
    width: 100%;
    height: 150px;
    object-fit: contain;
}

.product-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.product-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    min-height: 40px;
}

.view-details {
    color: var(--accent-blue);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.view-details:hover {
    gap: 0.75rem;
}

/* ==========================================================================
   Global Presence
   ========================================================================== */
.global-presence {
    background-color: var(--primary-dark);
    color: var(--white);
    position: relative;
}

.global-content {
    text-align: left;
    max-width: 400px;
    position: relative;
    z-index: 2;
}

.global-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.global-content p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
}

.global-map {
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 60%;
    background: url('https://placehold.co/800x400/000B22/1A56DB?text=World+Map+Dots') no-repeat center right / contain;
}

.map-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.map-pin {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--accent-blue);
    border-radius: 50%;
    cursor: pointer;
}

.map-pin::after {
    content: '';
    position: absolute;
    top: -4px; left: -4px; right: -4px; bottom: -4px;
    border: 2px solid var(--accent-blue);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.map-pin span {
    position: absolute;
    background: var(--white);
    color: var(--primary-dark);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    white-space: nowrap;
}

.map-pin:hover span {
    opacity: 1;
    top: -30px;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

/* ==========================================================================
   NOC Support
   ========================================================================== */
.noc-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

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

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

.noc-item i {
    font-size: 2rem;
    color: var(--accent-blue);
    margin-bottom: 0.5rem;
    display: block;
}

.noc-item span {
    font-size: 0.85rem;
    font-weight: 600;
}

.noc-image img {
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   Industries We Serve
   ========================================================================== */
.industry-item {
    padding: 1.5rem;
    border-radius: 8px;
    background: var(--white);
    transition: var(--transition);
}

.industry-item:hover {
    color: var(--accent-blue);
    box-shadow: var(--shadow-md);
}

.industry-item i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--accent-blue);
}

.industry-item p {
    font-weight: 600;
    font-size: 0.9rem;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
    background-color: var(--accent-blue);
    padding: 4rem 0;
    color: var(--white);
}

.cta-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background-color: var(--primary-dark);
    color: rgba(255,255,255,0.7);
    padding-top: 4rem;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr 1.5fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.brand-col .footer-logo {
    margin-bottom: 1.5rem;
}

.brand-col p {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

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

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

.social-links a:hover {
    background: var(--accent-blue);
}

.footer-col h3 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    font-size: 0.9rem;
}

.footer-col a:hover {
    color: var(--accent-blue);
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.contact-info i {
    color: var(--accent-blue);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem 0;
    font-size: 0.85rem;
}

.footer-bottom-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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