:root {
    --primary: #035AFF;
    --light: #F0F0F1;
    --black: #404041;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--primary);
    color: var(--black);
    overflow-x: hidden;
}


/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 16px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  z-index: 1000;
}

/* === LOGO === */
.logo {
   background-image: url(/Image/Boxel_Logo.png);
   background-size: cover;
   height: 60px;
   width: 250px;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo i {
    color: var(--light);
    margin-right: 10px;
    font-size: 32px;
}

/* === NAV LINKS === */
.nav-links {
  display: flex;
  align-items: center;
  gap: 45px;
}

.nav-links a {
  text-decoration: none;
  color: var(--black);
  font-weight: 600;
  font-size: 17px;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--primary);
}
#contact-us-a{
    display: none;
}
/* === CONTACT BUTTON === */
.contact-btn {
  display: flex;
  align-items: center;
  gap: 10px;
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary);
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.contact-btn a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 7px var(--black);
}
.contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.contact-btn:hover::before {
    left: 100%;
}

/* === MENU TOGGLE (MOBILE) === */
.menu-toggle {
  display: none;
  font-size: 26px;
  color: var(--black);
  cursor: pointer;
  transition: 0.3s ease;
}

.menu-toggle.active i {
  transform: rotate(90deg);
}
/* Hero Section */
.about-hero {
    background-image: url(/Image/web_Services_Banner.png);
    background-size: cover;
    height: 80vh;
    display: flex;
    align-items: center;
    padding: 0 10%;
    position: relative;
    color: var(--light);
}

.about-hero .hero-content {
    max-width: 600px;
}

.about-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-hero h1 span {
    color: var(--light);
}

.about-hero p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Mission Section */
.mission-section {
    padding: 100px 10%;
    display: flex;
    align-items: center;
    gap: 50px;
    background: var(--light);
}

.mission-content {
    flex: 1;
}

.mission-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.mission-section h2 span {
    color: var(--primary);
}

.mission-section p {
    margin-bottom: 40px;
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.9;
}

.mission-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-card {
    background: rgba(16, 7, 7, 0.05);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    background: rgba(108, 92, 231, 0.1);
    border-color: var(--primary);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(108, 92, 231, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 15px;
    font-size: 24px;
    color: var(--primary);
    transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
    background: var(--primary);
    color: var(--light);
}

.stat-card h3 {
    font-size: 28px;
    margin-bottom: 5px;
}

.stat-card p {
    margin: 0;
    font-size: 14px;
    opacity: 0.8;
}

.mission-3d {
    flex: 1;
    height: 500px;
    position: relative;
    perspective: 1000px;
}

.torus {
    width: 300px;
    height: 300px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transform-style: preserve-3d;
    animation: rotate-torus 15s infinite linear;
}

.torus::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 10px solid transparent;
    border-top-color: var(--primary);
    border-bottom-color: var(--primary);
    border-radius: 50%;
    animation: rotate-torus-inner 8s infinite linear;
}

.torus::after {
    content: '';
    position: absolute;
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    border: 10px solid transparent;
    border-left-color: var(--accent);
    border-right-color: var(--accent);
    border-radius: 50%;
    animation: rotate-torus-inner-reverse 6s infinite linear;
}

@keyframes rotate-torus {
    0% { transform: translate(-50%, -50%) rotateX(0) rotateY(0); }
    100% { transform: translate(-50%, -50%) rotateX(360deg) rotateY(360deg); }
}

@keyframes rotate-torus-inner {
    0% { transform: rotateZ(0); }
    100% { transform: rotateZ(360deg); }
}

@keyframes rotate-torus-inner-reverse {
    0% { transform: rotateZ(0); }
    100% { transform: rotateZ(-360deg); }
}

/* Team Section */
.team-section {
    background: var(--light);
    padding: 100px 10%;
    text-align: center;
    color: var(--black);
}
.team-section span{
    color: var(--primary);
}

.team-section h2 {
    font-size: 36px;
    margin-bottom: 15px;
}



.team-section p {
    max-width: 700px;
    margin: 0 auto 50px;
    opacity: 0.8;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-card {
    background:  rgba(16, 7, 7, 0.05);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(16, 7, 7, 0.38);
    border: 1px solid var(--primary);

}

.member-3d {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    perspective: 1000px;
    
}

.member-shape {
    width: 100%;
    height: 100%;
    background:var(--dark);
    background-size: cover;
    border-radius: 20px;
    transform-style: preserve-3d;
    animation: float-model 6s infinite ease-in-out;
}

    /* Team pic */
.Team-mamber1-pic{
    background-image: url(../Image/Team/jamil\ -ur-Rehman\ .jpg);
    background-size: cover;
}
.Team-mamber2-pic{
    background-image: url(../Image/Team/Muhammad\ waqas.jpg);
    background-size: cover;

}
.Team-mamber3-pic{
    background-image: url(../Image/Team/Hasaan.jpg);
    background-size: cover;
    top: 20%;
}

.Team-mamber4-pic{
    background-image: url(../Image/jamil\ .jpg);
    background-size: cover;
}
.team-card h3 {
    font-size: 22px;
    margin-bottom: 5px;
}

.team-card .position {
    
    margin-bottom: 15px;
    font-size: 14px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-links a {
    color: var(--dark);
    font-size: 16px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--primary);
    transform: translateY(-5px);
}

@keyframes float-model {
    0%, 100% {
        transform: translateY(0) rotateX(0) rotateY(0);
    }
    50% {
        transform: translateY(-20px) rotateX(10deg) rotateY(10deg);
    }
}

/* profile-online whatsapp link  */
.profile-online{
    width: 100px;
    height: 100px;
    border-radius: 50%;    
    overflow: hidden;
    transition: all 0.5s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
    border: 3px solid transparent;
    position: fixed;
    right: 20px;
    bottom: 125px;
}
.profile-online img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: all 0.5s ease;
}

.profile-online:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: #25D366;
}

.profile-online:hover img {
    transform: scale(1.05) rotateY(5deg);
    filter: brightness(1.1);
}
/* zoom metting  */
.zoom-meet-btn{
    width: 100px;
    height: 100px;
    border-radius: 50%;    
    overflow: hidden;
    transition: all 0.5s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
    border: 3px solid transparent;
    position: fixed;
    right: 20px;
    bottom: 20px;
}
.zoom-meet-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: all 0.5s ease;
}

.zoom-meet-btn:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: #25D366;
}

.zoom-meet-btn:hover img {
    transform: scale(1.05) rotateY(5deg);
    filter: brightness(1.1);
}
/* Footer */
footer {
    background-image: url(/Image/Web_Footer.png);
    background-size: cover;
    padding: 50px 10% 20px;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--light);
}
.social-links-icon {
    color: var(--light);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.social-link {
    color: var(--light);
    width: 40px;
    height: 40px;
    background: rgba(225, 0, 0, 0.05);
    border-radius: 50%;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--light);
    color: var(--primary);
    transform: translateY(-5px);
}

.copyright {
    opacity: 0.7;
    font-size: 14px;
    color: var(--light);
}
/* Responsive Styles */
@media (max-width: 1200px) {
    .hero-3d {
        width: 400px;
        height: 400px;
    }
    .pyramid .face-1, 
    .pyramid .face-2, 
    .pyramid .face-3 {
        border-left: 200px solid transparent;
        border-right: 200px solid transparent;
        border-bottom: 320px solid rgba(108, 92, 231, 0.2);
    }
}

@media (max-width: 992px) {
            header {
    padding: 14px 6%;
  }

  .nav-links {
    gap: 30px;
  }

  .contact-btn a {
    padding: 10px 22px;
    font-size: 15px;
  }

  .arrow-circle {
    width: 40px;
    height: 40px;
  }
  .boxel-box{
    display: none;
  }
    .about-hero {
        flex-direction: column;
        text-align: center;
        padding-top: 150px;
        height: auto;
    }
    .hero-content {
        margin-bottom: 50px;
    }
    .hero-3d {
        position: relative;
        right: auto;
        margin-bottom: 50px;
    }
    .mission-section {
        flex-direction: column;
    }
    .mission-3d{
        display: none;
    }
}
/* --- Mobile (max 860px) --- */
@media (max-width: 860px) {
.menu-toggle {
        display: block;
    }
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(0, 0, 0, 0.90);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: all 0.5s ease;
    }
    .nav-links a{
        color: var(--light);
        position: relative;
        left: 1px;
    }
    .nav-links.active {
        left: 0;
    }

  .contact-btn {
    display: none;
  }

  .nav-links a {
    font-size: 20px;
  }
    #contact-us-a{
    display: block;
  }
}


@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(0, 0, 0, 0.90);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: all 0.5s ease;
    }
    .nav-links a{
        color: var(--light);
        position: relative;
        left: 1px;
    }
    .nav-links.active {
        left: 0;
    }
    .logo{
        position: relative;
        right: 10%;
    }
      #contact-us-a{
    display: block;
  }
    .about-hero {
    background-image: url(/Image/mobile_about.png);
    background-size: cover;
    }
    .about-hero h1 {
        font-size: 36px;
    }

}

@media (max-width: 576px) {
    .about-hero h1 {
        font-size: 32px;
    }
    .about-hero p {
        font-size: 16px;
    }
    .mission-stats {
        grid-template-columns: 1fr;
    }
    .team-grid {
        grid-template-columns: 1fr;
    }
      #contact-us-a{
    display: block;
  }
}
/* --- Small Mobile (max 480px) --- */
@media (max-width: 480px) {
  .logo img {
    height: 38px;
  }

  .nav-links a {
    font-size: 18px;
  }
    #contact-us-a{
    display: block;
  }
}