/*
Theme Name: Stratezic Theme
Description: A premium, modern WordPress theme for Stratezic Winovations - a technology company specializing in AI, mobility, and enterprise solutions.
Version: 1.0
Author: Stratezic Winovations
Text Domain: stratezic-theme
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: dark-theme, responsive, technology, modern, premium
*/

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #FFFFFF;
    background: #0B0F1A;
    overflow-x: hidden;
}

/* Page wrapper above particle canvas */
#page {
    position: relative;
    z-index: 1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: #C9CEDA;
}

/* Links */
a {
    color: #2F80ED;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #FFFFFF;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background-color: #2F80ED;
    color: #FFFFFF;
}

.btn-primary:hover {
    background-color: #1E5BB8;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(47, 128, 237, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #2F80ED;
    border: 2px solid #2F80ED;
}

.btn-secondary:hover {
    background-color: #2F80ED;
    color: #FFFFFF;
}

/* Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(11, 15, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    background-color: rgba(11, 15, 26, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.site-branding {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.site-title {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #FFFFFF !important;
    text-decoration: none !important;
    transition: color 0.3s ease;
    display: block !important;
    visibility: visible !important;
}

.site-title:hover {
    color: #2F80ED !important;
}

.site-description {
    display: none;
}

.home-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(47, 128, 237, 0.15);
    color: #2F80ED;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.home-btn:hover {
    background: #2F80ED;
    color: #FFFFFF;
    transform: scale(1.1);
}

.site-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FFFFFF;
}

/* Menu Toggle Button - Hidden on Desktop */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 1.5rem;
    cursor: pointer;
}

.main-navigation {
    display: flex;
    align-items: center;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.main-navigation a {
    color: #C9CEDA;
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
    color: #2F80ED;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 90px;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 0%, rgba(47, 128, 237, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 100%, rgba(79, 172, 254, 0.04) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    max-width: 960px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero h1 {
    font-size: clamp(1.5rem, 3.5vw, 3.5rem);
    margin-bottom: 1rem;
    color: #FFFFFF;
    line-height: 1.2;
    text-align: center;
}

.hero-logo {
    margin-bottom: 1rem;
    text-align: center;
}

.hero-logo img {
    height: 150px;
    width: auto;
    filter: drop-shadow(0 0 25px rgba(47, 128, 237, 0.4));
}

.hero h1 .hero-line0,
.hero h1 .hero-line1,
.hero h1 .hero-line2 {
    display: block;
    white-space: nowrap;
}

.hero h1 .hero-line0 {
    font-size: clamp(1.2rem, 2.5vw, 2.5rem);
    font-weight: 400;
    opacity: 0.85;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
    text-align: center;
}

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

/* Globe background — behind centered text */
.hero-globe-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 700px;
    z-index: 1;
    pointer-events: none;
    opacity: 0.6;
}

.hero-globe-bg canvas {
    width: 100%;
    height: 100%;
}

/* Sections */
.section {
    padding: 5rem 0;
}

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

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    color: #FFFFFF;
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.125rem;
    color: #C9CEDA;
    max-width: 600px;
    margin: 0 auto;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: #1A1F36;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.service-card i {
    font-size: 3rem;
    color: #2F80ED;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: #FFFFFF;
    margin-bottom: 1rem;
}

.service-card p {
    color: #C9CEDA;
}

/* Footer */
.site-footer {
    background-color: rgba(26, 31, 54, 0.7);
    padding: 3rem 0 1rem;
    color: #C9CEDA;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.35fr 1fr 1.35fr 0.9fr 1.45fr;
    gap: 2rem;
    align-items: start;
}

.footer-section h4 {
    color: #FFFFFF;
    margin-bottom: 1rem;
}

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

.footer-section a {
    color: #C9CEDA;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #2F80ED;
}

/* Social links in Connect section */
.footer-social-links li {
    margin-bottom: 0.6rem;
}
.footer-social-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    word-break: normal;
    overflow-wrap: anywhere;
}

.footer-social-links a.footer-email-link {
    white-space: nowrap;
    overflow-wrap: normal;
}
.footer-social-links .fa-envelope    { color: #EA4335; }
.footer-social-links .fa-youtube     { color: #FF0000; }
.footer-social-links .fa-instagram   { color: #E1306C; }
.footer-social-links .fa-twitter     { color: #1DA1F2; }
.footer-social-links .fa-linkedin    { color: #0A66C2; }
.footer-social-links a:hover i { opacity: 0.8; }

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #2F80ED;
}

/* Responsive Design */
@media (max-width: 1100px) {
    .footer-container {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 1024px) {
    .hero-globe-bg {
        width: 500px;
        height: 500px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 0.5rem;
        padding: 0 1rem;
    }

    .site-title {
        font-size: 1rem !important;
        white-space: nowrap;
    }

    .home-btn {
        display: none !important;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero h1 .hero-line1,
    .hero h1 .hero-line2 {
        white-space: normal;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-logo img {
        height: 100px;
    }

    .hero-globe-bg {
        width: 350px;
        height: 350px;
    }

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

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.4rem;
    }

    .hero-logo img {
        height: 80px;
    }

    .site-title {
        font-size: 0.9rem !important;
    }

    .section {
        padding: 3rem 0;
    }

    .section-container {
        padding: 0 1rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* for mobile header issue fix*/
@media (max-width: 600px) {
  .site-header {
    padding: 0.3rem 0;
    height: 48px;
  }
  .nav-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .site-branding {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
  }
  .menu-toggle {
    display: block;
    margin-left: auto;
    font-size: 1.5rem;
  }
  .main-navigation {
    margin-left: auto;
  }
  .hero {
    padding-top: 48px;
  }
}