/* ANS Hirings - Dark Theme with Orange Accents */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    background-color: #1a1a1a;
    color: #FFAC1C;
    overflow-x: hidden;
}

/* Header - Dark theme */
.header {
    background: #2a2a2a;
    color: #FFAC1C;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border-bottom: 1px solid #333;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-img {
    height: 44px;
    width: auto;
    display: block;
    border-radius: 6px;
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: #FFAC1C;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #FFAC1C;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    transform: translateY(-2px);
    color: #ffa64d;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: #FFAC1C;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

.mobile-menu {
    display: none;
    background: none;
    border: none;
    color: #FFAC1C;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section - Dark theme */
.hero {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    color: #FFAC1C;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
     background: #2a2a2a;
    position: relative;
    background-image: url('images/AI-HEAD.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="%23FFAC1C" opacity="0.1"/></svg>') repeat;
    background-size: 50px 50px;
    /* animation: float 20s infinite linear; */
     /* content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0; */
  background: rgba(0,0,0,0.6); /* black overlay, adjust opacity */
  z-index: 1;
}
.hero * {
  position: relative;
  z-index: 2; /* keep text above overlay */
}


@keyframes float {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(-50px) translateY(-50px); }
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #FFAC1C;
    animation: slideUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #cccccc;
    animation: slideUp 1s ease-out 0.2s both;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
    animation: slideUp 1s ease-out 0.4s both;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: #FFAC1C;
    color: #1a1a1a;
}

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

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255,127,80,0.3);
}

.btn-primary:hover {
    background: #ffa64d;
}

.btn-secondary:hover {
    background: #FFAC1C;
    color: #1a1a1a;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

/* Sections Our Comprehensive Services */
.section {
    padding: 100px 0;
    position: relative;
     background: #2a2a2a;
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1493612276216-ee3925520721?q=80&w=764&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
    /* ('https://images.unsplash.com/photo-1674027444485-cec3da58eef4?q=80&w=1932&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D'); */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.section::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6); /* black overlay, adjust opacity */
  z-index: 1;
}

.section * {
  position: relative;
  z-index: 2; /* keep text above overlay */
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
    max-width: 100%;
    color: #FFAC1C;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: #FFAC1C;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* About Section */
/* .about {
    background: #2a2a2a;
} */
.about {
    background: #2a2a2a;
    position: relative;
    background-image: url('images/VISION.PNG');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.about::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6); /* black overlay, adjust opacity */
  z-index: 1;
}

.about * {
  position: relative;
  z-index: 2; /* keep text above overlay */
}


.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: left;
    color: #cccccc;
}

.about-text h3 {
    color: #FFAC1C;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

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

.stat {
    text-align: center;
    padding: 1.5rem;
    background: #3a3a3a;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
    border: 1px solid #444;
}

.stat:hover {
    transform: translateY(-5px);
    border-color: #FFAC1C;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFAC1C;
    display: block;
}

.stat-label {
    color: #cccccc;
    margin-top: 0.5rem;
}

/* Services Section */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: #2a2a2a;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    border: 1px solid #444;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #FFAC1C;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(255,127,80,0.15);
    border-color: #FFAC1C;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: #FFAC1C;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: #1a1a1a;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #FFAC1C;
}

.service-card p {
    color: #cccccc;
    line-height: 1.6;
}

/* Why Choose Us */
.why-choose {
    background: #1a1a1a;
    color: #FFAC1C;
     background: #2a2a2a;
    position: relative;
    background-image: url('https://plus.unsplash.com/premium_photo-1680608979589-e9349ed066d5?q=80&w=764&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.why-choose::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6); /* black overlay, adjust opacity */
  z-index: 1;
}

.why-choose * {
  position: relative;
  z-index: 2; /* keep text above overlay */
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: rgba(255,127,80,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: #FFAC1C;
    backdrop-filter: blur(10px);
    border: 1px solid #FFAC1C;
}

.feature h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #FFAC1C;
}

.feature p {
    color: #cccccc;
}

/* Testimonials succees stories  */
.testimonials {
    background: #2a2a2a;
     position: relative;
    background-image: url('https://images.unsplash.com/photo-1497561813398-8fcc7a37b567?q=80&w=1170&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial {
    background: #3a3a3a;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    position: relative;
    border: 1px solid #444;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: #FFAC1C;
    font-family: serif;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #cccccc;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: #FFAC1C;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    font-weight: 600;
}

.author-info h4 {
    margin: 0;
    color: #FFAC1C;
}

.author-info span {
    color: #cccccc;
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    background: #1a1a1a;
    color: #FFAC1C;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.contact-info,
.contact-form {
    width: 100%;
}

.contact-info h3 {
    margin-bottom: 1.5rem;
    color: #FFAC1C;
}

.contact-info p {
    margin-bottom: 2rem;
    color: #cccccc;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: #FFAC1C;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #1a1a1a;
}

/* Contact form styles */
.contact .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.25rem;
}

.contact .field { 
    display: flex; 
    flex-direction: column; 
}

.contact .field.full { 
    grid-column: 1 / -1; 
}

.contact label {
    margin: 0 0 0.4rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: #FFAC1C;
    display: block;
}

.contact input,
.contact textarea {
    padding: 0.9rem 1rem;
    border: 1.5px solid #444;
    border-radius: 12px;
    background: #2a2a2a;
    color: #FFAC1C;
    outline: none;
    transition: border 0.2s, box-shadow 0.2s;
}

.contact input::placeholder,
.contact textarea::placeholder {
    color: #888;
}

.contact input:focus,
.contact textarea:focus {
    border-color: #FFAC1C;
    box-shadow: 0 0 0 3px rgba(255,127,80,0.15);
}

.contact .error { 
    color: #ff6b6b; 
    font-size: 0.85rem; 
    min-height: 1.2rem; 
}

.contact .hint { 
    color: #888; 
    font-size: 0.82rem; 
    margin-top: 0.25rem; 
}

.contact input.invalid, 
.contact textarea.invalid { 
    border-color: #ff6b6b; 
}

.contact input.valid, 
.contact textarea.valid { 
    border-color: #FFAC1C; 
}

.contact .hp { 
    position: absolute; 
    left: -10000px; 
    top: auto; 
    width: 1px; 
    height: 1px; 
    overflow: hidden; 
}

.actions { 
    grid-column: 1 / -1; 
    display: flex; 
    gap: 1rem; 
    align-items: center; 
}

.btn-primary {
    background: #FFAC1C;
    border: none;
    color: #1a1a1a;
    padding: 0.9rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #ffa64d;
}

.btn-primary:disabled { 
    opacity: 0.6; 
    cursor: not-allowed; 
}

.form-status {
    margin-top: 10px;
    font-size: 0.95rem;
}

.form-status.success { 
    color: #FFAC1C; 
}

.form-status.error { 
    color: #ff6b6b; 
}

/* Team section ceo and md */
.team {
    background: #2a2a2a;
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?q=80&w=1170&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.team::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6); /* black overlay, adjust opacity */
  z-index: 1;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-card {
    text-align: center;
    padding: 1.5rem;
    background: #2a2a2a;
    border: 2px solid #444;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.team-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 2px solid #FFAC1C;
}

.team-card:hover {
    border-color: #FFAC1C;
    background: #3a3a3a;
}

.team-card h3 {
    color: #FFAC1C;
    margin-bottom: 0.5rem;
}

.team-card p {
    color: #cccccc;
    margin-bottom: 1rem;
}

.linkedin-link {
    color: #FFAC1C;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.linkedin-link:hover {
    color: #ffa64d;
}

/* Social icons */
/* Social icons */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.social-icons a {
    font-size: 2rem;
    color: #FFAC1C;
    text-decoration: none;
    transition: color 0.3s, transform 0.3s;
}

.social-icons a:hover {
    color: #ffa64d;
    transform: translateY(-4px);
}

/* Make Social section opaque and isolate it from previous overlays */
.section.social {
  position: relative;         /* creates its own stacking context */
  isolation: isolate;         /* prevents earlier ::before layers from sitting above */
  background-color: #0f0f0f;  /* solid dark background for that band */
  
}

/* If you have any global overlay like .section::before, cancel it here */
.section.social::before {
  content: none !important;
}

/* Optional: add some vertical space so it feels like its own band */
.section.social .container {
  padding-top: 60px;
  padding-bottom: 60px;
}
.section.social {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(rgba(0,0,0,.7), rgba(0,0,0,.7)),
    center/cover no-repeat;
     background-blend-mode: darken; 
  padding: 80px 20px;
}


/* Footer */
.footer {
    background: #0f0f0f;
    color: #FFAC1C;
    text-align: center;
    padding: 3rem 0 2rem;
    border-top: 1px solid #333;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #FFAC1C;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #FFAC1C;
}

.footer-section p {
    color: #cccccc;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    color: #888;
}

/* Scroll to top button */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: #FFAC1C;
    border: none;
    border-radius: 50%;
    color: #1a1a1a;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-top:hover {
    transform: translateY(-5px);
    background: #ffa64d;
}

/* Theme toggle button */
.theme-toggle {
    margin-left: 1rem;
    background: none;
    border: 2px solid #FFAC1C;
    border-radius: 50%;
    color: #FFAC1C;
    padding: 6px 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background: #FFAC1C;
    color: #1a1a1a;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo-text { 
        display: none; 
    }
    
    .logo-img { 
        height: 40px; 
    }

    .nav-links {
        display: none;
    }

    .mobile-menu {
        display: block;
    }


    
    .hero {
        padding: 100px 0 60px;
        min-height: 80vh;
    }

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

    .hero-subtitle {
        font-size: 1.1rem;
    }

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

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .container {
        padding: 0 1rem;
    }

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

    .contact .form-grid { 
        grid-template-columns: 1fr; 
    }
}

/* === Team Carousel === */
.team-carousel {
  position: relative;
  width: 100%;
  margin-inline: auto;
  max-width: 1200px;
}

.tc-viewport {
  overflow: hidden;
  width: 100%;
}

.tc-track {
  list-style: none;
  display: flex;
  gap: 2rem;
  padding: 0;
  margin: 0;
  will-change: transform;
  transition: transform 420ms ease;
}

/* Make cards behave as slides */
.tc-track .team-card {
  flex: 0 0 calc(25% - 1.5rem); /* desktop: 4 visible */
  text-align: center;
  padding: 1.5rem;
  background: #2a2a2a;
  border: 2px solid #444;
  border-radius: 12px;
  transition: border-color .3s, background .3s, transform .3s;
}
.tc-track .team-card:hover { border-color:#FFAC1C; background:#3a3a3a; transform: translateY(-4px); }

.tc-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #444;
  background: rgba(0,0,0,.55);
  color: #FFAC1C;
  cursor: pointer;
  z-index: 3;
}
.tc-prev { left: -6px; }
.tc-next { right: -6px; }
.tc-btn:hover { background: rgba(0,0,0,.8); border-color:#FFAC1C; }

.tc-dots {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: 1rem;
}
.tc-dots button {
  width: 8px; height: 8px; border-radius: 50%;
  border: 0; outline: 0; cursor: pointer;
  background: #444;
}
.tc-dots button[aria-current="true"] { background: #FFAC1C; }

/* Responsive visibles: tablet 2, mobile 1 */
@media (max-width: 1024px) {
  .tc-track .team-card { flex-basis: calc(50% - 1rem); }
}
@media (max-width: 640px) {
  .tc-track .team-card { flex-basis: 100%; }
  .tc-prev { left: 4px; }
  .tc-next { right: 4px; }
}
