: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(--light);
    overflow-x: hidden;
}

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);
}
/* Main Content */
.contact-main {
    padding-top: 100px;
}

/* Hero Section */
.contact-hero {
    background-image: url(/Image/web_Services_Banner.png);
    background-size: cover;
    height: 80vh;
    display: flex;
    align-items: center;
    padding: 0 10%;
    position: relative;
}

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

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



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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    background: var(--light);
    color: var(--primary);
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(108, 92, 231, 0.3);
}

.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;
}

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

.btn i {
    margin-right: 10px;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--light);
    color: var(--light);
    margin-left: 15px;
}

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

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

/* Contact Section */
.contact-section {
    padding: 100px 10%;
    background: var(--light);
    color: var(--black);
}

.contact-container {
    display: flex;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    flex: 2;
}

.contact-info h2 {
    font-size: 40px;
    margin-bottom: 20px;
    text-align: center;
}

.contact-info h2 span {
    color: var(--primary);
}

.contact-info p {
    margin-bottom: 40px;
    opacity: 0.8;
    text-align: center;
}

.cards-container {
    display: flex;
    flex-wrap: wrap;       /* Mobile pe cards neeche aa jaenge */
    justify-content: center;
    gap: 30px;             /* Cards ke darmiyan space */
    max-width: 1200px;
    margin: 100px auto;
}

.card-item {
    background: rgba(16, 7, 7, 0.05);
    border-radius: 12px;
    padding: 35px 30px;
    text-align: center;
    flex-basis: 320px;     
    flex-grow: 1;
    max-width: 380px;      
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-item:hover {
        transform: translateY(-10px) perspective(1000px) rotateX(5deg) rotateY(5deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background: rgba(108, 92, 231, 0.1);
    border:var(--primary) 2px solid;
}

.card-icon {
    font-size: 2.5rem; /* Icon ka size */
    color: var(--primary);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.card-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 12px;
}

/* Title ke andar links ke liye styles */
.card-title a {
    color: var(--black); /* Purple color lega */
    text-decoration: none;
    transition: opacity 0.3s;
}

.card-title a:hover {
    text-decoration: underline;
}

.card-item p {
    font-size: 1rem;
    color: var(--black);
    line-height: 1.6;
}

/* contact-form */

.contact-form {
    flex: 1;
    background: rgba(16, 7, 7, 0.05);
    color: var(--black);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    max-width: 864px;
    margin: 0 auto;
}

.contact-form h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.contact-form h2 span {
    color: var(--primary);
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    background: var(--light);
    border: 1px solid var(--light);
    border-radius: 8px;
    color: var(--black);
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(108, 92, 231, 0.1);
    color: var(--black);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.error-message {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 5px;
    display: none;
    font-weight: 500;
}

.contact-form button {
    background-color: var(--primary);
    color: var(--light);
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-form button .btn-icon {
    transform: translateX(0);
    transition: all 0.3s ease;
}

.contact-form button:hover .btn-icon {
    transform: translateX(5px);
}

/* Map Section */
.map-section {
    background:var(--light);
    color: var(--black);
    padding: 100px 10%;
}

.map-container {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.map-plane {
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.2),rgba(0,0,0,0.2)),url(/Image/location.png);
    background-size: cover;
    box-shadow: 0 10px 20px rgba(2, 2, 2, 0.147);
    border-radius: 10px;
    transform-style: preserve-3d;
    animation: float-map 8s infinite ease-in-out;
}

.map-marker {
    position: absolute;
    top: 20%;
    left: 80%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.marker-pulse {
    width: 40px;
    height: 40px;
    background: rgba(253, 121, 168, 0.3);
    border-radius: 50%;
    animation: pulse 2s infinite ease-out;
        position: absolute;
    top: 80%;
    left: 50%;
}

.marker-icon {
    
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: var(--primary);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex;
    justify-content: center;
    align-items: center;
}

.marker-icon i {
    transform: rotate(45deg);
    color: var(--light);
    font-size: 14px;
}

.map-info {
    flex: 1;
}
.map-info span{
    color: var(--primary);
}

.map-info h3 {
    font-size: 36px;
    margin-bottom: 20px;
}


.map-info p {
    margin-bottom: 30px;
    opacity: 0.8;
}
.map-info a{
    background-color: var(--primary);
}
.map-info a:hover{
    color: var(--light);
    background-color: var(--primary);
}

@keyframes float-map {
    0%, 100% {
        transform: rotateX(0) rotateY(0);
    }
    50% {
        transform: rotateX(5deg) rotateY(5deg);
    }
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--dark);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-icon {
    font-size: 60px;
    color: var(--light);
    margin-bottom: 20px;
}

.modal h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.modal p {
    margin-bottom: 25px;
    opacity: 0.8;
}

/* 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 {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.social-link {
    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;
    color: var(--light);
    transition: all 0.3s ease;
}

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

.copyright {
    opacity: 0.7;
    font-size: 14px;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .hero-3d {
        width: 400px;
        height: 400px;
    }
}

@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;
  }
    .contact-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;
    }
    .contact-container {
        flex-direction: column;
    }
    .map-container {
        flex-direction: column;
    }
    .map-info {
        text-align: center;
        margin-top: 30px;
    }
}
/* --- 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;
  }
    .contact-hero {
    background-image: url(/Image/mobile_contact.png);
    background-size: cover;
    }
    .contact-hero h1 {
        font-size: 36px;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-3d {
        width: 300px;
        height: 300px;
    }
    
    .map-plane {
    width: 300px;
    height: 300px;
    background: linear-gradient(rgba(0,0,0,0.2),rgba(0,0,0,0.2)),url(/Image/phone_location.png);
    background-size: cover;
    border-radius: 10px;
    transform-style: preserve-3d;
    animation: float-map 8s infinite ease-in-out;
    
}
    footer {
    background-image: url(/Image/footer\ mobile.png);
    background-size: cover;
    }


}

@media (max-width: 576px) {
    .contact-hero h1 {
        font-size: 32px;
    }
    .contact-hero p {
        font-size: 16px;
    }
    .btn-outline {
        margin-left: 0;
        margin-top: 15px;
    }
    .contact-form {
        padding: 30px 20px;
    }
    .map-info h3 {
        font-size: 28px;
    }
      #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;
  }
}