/*
Theme Name: Zennexora
Author: Kamran Akhtar
Version: 1.0
*/

/* --- Root Colors --- */
:root {
  --primary-color: #263868; /* Dark Blue */
  --secondary-color: #00AFEF; /* Cyan / Accent */
  --white: #ffffff;
  --background-color: #F7F9FC;
  --text-color: #1A1A1A;
}

/* --- Body --- */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: var(--background-color);
  color: var(--text-color);
}

a {
  text-decoration: none;
}

/* --- Container --- */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* --- Header --- */
#main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--white);
  padding: 20px 0;
  box-shadow: 0 3px 15px rgba(0,0,0,0.08);
  z-index: 999;
  transition: all 0.3s ease;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.logo img {
  max-height: 30px;
  width: auto;
}

#main-header .logo h2 {
  color: var(--primary-color);
  font-weight: 600;
  margin: 0;
  font-size: 24px;
}

/* --- Navigation --- */
.nav ul.menu {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  gap: 30px;
}

.nav ul.menu li {
  position: relative;
}

.nav ul.menu li a {
  color: var(--primary-color);
  font-weight: 500;
  padding: 8px 0;
  transition: 0.3s;
}

.nav ul.menu li a:hover {
  color: var(--secondary-color);
}

/* Dropdown Menu */
.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  display: none;
  min-width: 220px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  z-index: 999;
}

.sub-menu li a {
  color: var(--primary-color);
  padding: 10px 15px;
  display: block;
  font-weight: 500;
}

.nav ul.menu li:hover > .sub-menu {
  display: block;
}

.sub-menu li a:hover {
  color: var(--secondary-color);
}

/* --- Header CTA Button --- */
.header-cta {
  margin-left: 30px;
}

.header-cta .btn-primary {
  background: var(--secondary-color);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

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

/* --- Mobile Hamburger --- */
.mobile-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.mobile-toggle span {
  height: 2px;
  width: 25px;
  background: var(--primary-color);
  margin-bottom: 5px;
  border-radius: 2px;
}

/* --- Hero Section --- */
.hero {
  height: 100vh;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--white);
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 18px;
  font-weight: 300;
  margin-bottom: 30px;
}

.hero-buttons a {
  display: inline-block;
  padding: 12px 25px;
  margin: 0 10px;
  border-radius: 4px;
  font-weight: 600;
  transition: 0.3s;
  text-decoration: none;
}

.hero-buttons .btn-primary {
  background: var(--secondary-color);
  color: var(--white);
}

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

.hero-buttons .btn-secondary {
  background: var(--white);
  color: var(--primary-color);
}

.hero-buttons .btn-secondary:hover {
  background: #f0f0f0;
}

/* Footer */
/* ------------------------------
   Footer General
---------------------------------*/
#site-footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 0 20px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

/* ------------------------------
   Footer Columns
---------------------------------*/
.footer-col.footer-about {
    flex: 1 1 300px;
}
.footer-col {
    flex: 1 1 210px;
}

/* About / Logo */
.footer-about img {
    max-width: 180px;
    height: auto;
}

.footer-about p {
    margin-top: 15px;
    line-height: 1.6;
    color: #f0f0f0;
}

/* Footer Menu Titles */
.footer-menu-col h4,
.footer-contact h4,
.footer-about h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Footer Menu List */
.footer-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu-list li {
    margin-bottom: 10px;
}

.footer-menu-list li a {
    color: #f0f0f0;
    font-weight: 500;
    transition: 0.3s;
}

.footer-menu-list li a:hover {
    color: var(--secondary-color);
}

/* ------------------------------
   Contact Info
---------------------------------*/
.footer-contact .contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact .contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #f0f0f0;
}

.footer-contact .contact-info svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    fill: #ffffff;
}

/* ------------------------------
   Social Icons
---------------------------------*/
.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.footer-social a svg {
    width: 20px;
    height: 20px;
    fill: #ffffff;
    transition: 0.3s;
}

.footer-social a:hover svg {
    fill: var(--secondary-color);
}

/* ------------------------------
   Footer Bottom
---------------------------------*/
.footer-bottom {
    text-align: center;
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 15px;
    color: #f0f0f0;
    font-size: 13px;
}

/* ------------------------------
   Responsive Footer
---------------------------------*/
@media screen and (max-width: 991px) {
    .footer-container {
        flex-direction: column;
        gap: 40px;
    }
    .footer-about img {
        max-width: 150px;
    }
    .footer-social {
        justify-content: flex-start;
    }
}

@media screen and (max-width: 480px) {
    .footer-about img {
        max-width: 120px;
    }
    .footer-menu-col h4,
    .footer-contact h4 {
        font-size: 15px;
    }
}