/* 
 * Adyant Consultancy Services - Modern SaaS Design System
 */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=Inter:wght@400;500&family=Montserrat:wght@600;700&display=swap');

:root {
    --primary: #000B33;
    --accent: #0066FF;
    --accent-glow: rgba(0, 102, 255, 0.3);
    --sky: #8ECAFF;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --text-main: #333333;
    --text-muted: #666666;
    --glass: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-dark: rgba(0, 11, 51, 0.8);
    --gradient-hero: linear-gradient(135deg, #000B33 0%, #001A7A 100%);
    --gradient-accent: linear-gradient(135deg, #0066FF 0%, #00D1FF 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.responsive-img-h450 {
    height: 450px;
}

@media (max-width: 768px) {
    .responsive-img-h450 {
        height: 300px;
    }
}

.experience-badge {
    position: absolute; 
    bottom: -20px; 
    right: -20px; 
    background: var(--accent); 
    color: white; 
    padding: 2rem; 
    border-radius: 20px; 
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

@media (max-width: 576px) {
    .experience-badge {
        position: static;
        margin-top: 1rem;
        text-align: center;
    }
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

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

/* Glassmorphism Utilities */
.glass {
    background: var(--glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

.glass-dark {
    background: var(--glass-dark);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--white);
    box-shadow: 0 10px 20px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px var(--accent-glow);
}

.btn-outline {
    border: 2px solid var(--accent);
    color: var(--accent);
    background: transparent;
}

.btn-outline:hover {
    background: var(--accent);
    color: var(--white);
}

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

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

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: 0.3s;
}

header.scrolled {
    background: rgba(0, 11, 51, 0.9);
    padding: 0.5rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    object-fit: contain;
}

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

.nav-links a {
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--sky);
    transition: 0.3s;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    background: var(--gradient-hero);
    color: var(--white);
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/carbon-fibre.png');
    opacity: 0.1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1, .hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #8ECAFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-title {
    font-size: 4rem;
}

@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.hero-btns {
    display: flex; 
    gap: 1rem; 
    flex-wrap: wrap;
}

@media (max-width: 991px) {
    .hero-btns {
        justify-content: center;
    }
}

.hero-visual {
    position: relative;
}

.hero-dashboard-card {
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    z-index: 2;
    transform: perspective(1000px) rotateY(-15deg) rotateX(10deg);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    transition: 0.5s;
}

.hero-dashboard-card:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

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

.product-card {
    padding: 2rem;
    border-radius: 20px;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.4s;
    border: 1px solid #eee;
    text-align: center;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 102, 255, 0.15);
    border-color: var(--accent);
}

.product-card .icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.product-card h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.product-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

/* Statistics */
.stats-section {
    background: var(--primary);
    color: var(--white);
    padding: 5rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: var(--sky);
}

.stat-item p {
    font-weight: 500;
    opacity: 0.8;
}

/* Industries Served */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.industry-item {
    padding: 1.5rem;
    border-radius: 15px;
    background: var(--light-gray);
    text-align: center;
    font-weight: 600;
    transition: 0.3s;
}

.industry-item:hover {
    background: var(--accent);
    color: var(--white);
}

/* Footer */
footer {
    background: var(--primary);
    color: var(--white);
    padding: 5rem 0 2rem;
}

.social-links {
    display: flex; 
    gap: 1rem; 
    font-size: 1.5rem;
}

.social-links-large {
    display: flex; 
    gap: 1.5rem; 
    font-size: 2rem;
}

.contact-info-item {
    margin-bottom: 2rem; 
    display: flex; 
    gap: 1rem;
}

.contact-info-item i {
    color: var(--accent); 
    font-size: 2rem;
}

.contact-info-item h4 {
    margin-bottom: 0.5rem;
}

.contact-info-item p {
    color: var(--text-muted);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block; 
    margin-bottom: 0.5rem; 
    font-weight: 600;
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%; 
    padding: 1rem; 
    border-radius: 10px; 
    border: 1px solid #ddd; 
    background: #fcfcfc;
    font-family: inherit;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    gap: 4rem;
}

.footer-col h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    color: var(--sky);
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a:hover {
    color: var(--sky);
    padding-left: 5px;
}

.footer-form input, .footer-form textarea, .footer-form select {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    border: none;
    background: rgba(255,255,255,0.1);
    color: var(--white);
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.6;
}

/* Mobile Responsive Grid System */
.grid-2, .grid-3, .grid-4 {
    display: grid;
    gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.align-center { align-items: center; }

/* Mobile Menu Styles */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: 0.3s;
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* Animations */
[data-aos] {
    transition-duration: 800ms !important;
}

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

/* Mobile Responsive */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    .hero-content h1 {
        font-size: 3rem;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 991px) {
    .menu-toggle {
        display: flex;
    }

    .nav-container {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--primary);
        flex-direction: column;
        justify-content: center;
        padding: 4rem 2rem;
        transition: 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 1000;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }

    .nav-container.active {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin-bottom: 2rem;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .header-actions {
        width: 100%;
        text-align: center;
    }

    .header-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-btns {
        justify-content: center;
    }

    .section {
        padding: 4rem 0;
    }

    .grid-4, .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .split-row {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .section-title h2 {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .hero-mockup-img {
        max-width: 100%;
        transform: none;
    }
}

@media (max-width: 576px) {
    .grid-4, .grid-3, .grid-2 {
        grid-template-columns: 1fr;
    }

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

    .btn {
        padding: 0.7rem 1.5rem;
        width: 100%;
        justify-content: center;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

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

/* Institute Slider Styling */
.institute-slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.institute-track {
    display: flex;
    transition: transform 1s ease-in-out;
    width: 100%;
}

.institute-group {
    min-width: 100%;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    padding: 2rem 0;
}

.institute-logo-card {
    text-align: center;
    padding: 2rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.4s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.institute-logo-card img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.7;
    transition: 0.4s;
}

.institute-logo-card p {
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0.8;
    line-height: 1.2;
}

.institute-logo-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

.institute-logo-card:hover img {
    opacity: 1;
    filter: none;
}

@media (max-width: 991px) {
    .institute-group {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .institute-group {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Hero Mockup Styling */
.hero-mockup-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.hero-mockup-img {
    width: 100%;
    max-width: 700px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    animation: float-mockup 6s ease-in-out infinite;
    z-index: 2;
    transform: rotateY(-10deg) rotateX(5deg);
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    opacity: 0.2;
    filter: blur(40px);
    z-index: 1;
    animation: pulse-glow 4s ease-in-out infinite;
}

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

@keyframes pulse-glow {
    0%, 100% { opacity: 0.1; scale: 1; }
    50% { opacity: 0.3; scale: 1.1; }
}

@keyframes float-mockup-mobile {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
