/* =====================================================
   UNIQUE TECHNOLOGIES & CONSULTANCY
   Main Stylesheet - SEO-First Design
   ===================================================== */

/* ============ CSS VARIABLES ============ */
:root {
    /* Colors - Professional Light Theme */
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-card: #ffffff;
    --bg-card-hover: #f3f4f6;

    /* Professional Emerald Green Accent */
    --accent-green: #16a34a;
    --accent-green-dim: rgba(22, 163, 74, 0.1);
    --accent-green-glow: rgba(22, 163, 74, 0.25);

    /* Typography - High Contrast Dark Gray */
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-muted: #9ca3af;

    --border-color: #e5e7eb;
    --gradient-green: linear-gradient(135deg, #16a34a 0%, #15803d 100%);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 100px 0;
    --container-max: 1200px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ============ RESET & BASE ============ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Homepage - Allow text selection for SEO crawlers */
body.seo-page {
    -webkit-user-select: auto;
    -moz-user-select: auto;
    -ms-user-select: auto;
    user-select: auto;
}

/* Secure pages - Disable text selection */
body.secure-page {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

a {
    color: var(--accent-green);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--text-primary);
}

img {
    max-width: 100%;
    height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* ============ HEADER / NAVIGATION ============ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-normal);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo-text span {
    color: var(--accent-green);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 10px;
}

.nav-link {
    padding: 10px 18px;
    color: var(--text-secondary);
    font-weight: 500;
    border-radius: 8px;
    transition: var(--transition-fast);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    background: var(--accent-green-dim);
}

.nav-link.active {
    color: var(--accent-green);
}

.nav-cta {
    background: var(--gradient-green);
    color: var(--bg-primary) !important;
    font-weight: 600;
    padding: 12px 24px !important;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--accent-green-glow);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-fast);
}

/* ============ HERO SECTION ============ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 20px 80px;
    overflow: hidden;
    background: var(--bg-primary);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 30% 20%, var(--accent-green-dim) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 80%, rgba(22, 163, 74, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    background: var(--accent-green-dim);
    border: 1px solid var(--accent-green);
    color: var(--accent-green);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease;
}

.hero h1 {
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.hero h1 .highlight {
    color: var(--accent-green);
    position: relative;
}

.hero h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--accent-green-dim);
    z-index: -1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-green);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    border: none;
    transition: var(--transition-normal);
}

.btn-primary {
    background: var(--gradient-green);
    color: var(--bg-primary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px var(--accent-green-glow);
    color: var(--bg-primary);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--accent-green);
    background: var(--accent-green-dim);
}

/* ============ SERVICES SECTION ============ */
.services {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-subtitle {
    color: var(--accent-green);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 30px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-green);
    opacity: 0;
    transition: var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-green);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--accent-green-dim);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 2rem;
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ============ VENUES SECTION ============ */
.venues {
    padding: var(--section-padding);
    background: var(--bg-primary);
}

.venues-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.venues-map {
    position: relative;
}

.venues-map img {
    width: 100%;
    border-radius: 20px;
    filter: grayscale(0.3);
}

.location-dots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.location-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.location-dot::after {
    content: attr(data-city);
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    color: var(--accent-green);
    white-space: nowrap;
    font-weight: 600;
}

/* Location positions */
.dot-chennai {
    top: 65%;
    left: 55%;
}

.dot-bangalore {
    top: 60%;
    left: 45%;
}

.dot-hyderabad {
    top: 45%;
    left: 48%;
}

.dot-vizag {
    top: 40%;
    left: 60%;
}

.dot-kochi {
    top: 75%;
    left: 45%;
}

.venues-info h2 {
    margin-bottom: 20px;
}

.venues-list {
    list-style: none;
    margin-top: 30px;
}

.venues-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.venues-list li::before {
    content: '📍';
    font-size: 1.2rem;
}

/* Expansion Card */
.venues-expansion {
    display: flex;
    align-items: center;
    justify-content: center;
}

.expansion-card {
    background: linear-gradient(145deg, #f0fdf4 0%, #ffffff 100%);
    border: 2px solid var(--accent-green);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.expansion-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(127, 255, 0, 0.1) 0%, transparent 70%);
    animation: rotateGlow 10s linear infinite;
}

@keyframes rotateGlow {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.expansion-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.expansion-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--accent-green);
    position: relative;
    z-index: 1;
}

.expansion-card>p {
    position: relative;
    z-index: 1;
    max-width: 400px;
    margin: 0 auto 25px;
}

.expansion-highlight {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 20px;
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

.highlight-badge {
    display: inline-block;
    background: var(--gradient-green);
    color: var(--bg-primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.expansion-highlight p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* ============ FAQ SECTION ============ */
.faq {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transition-normal);
}

.faq-item:hover {
    border-color: var(--accent-green-dim);
}

.faq-question {
    width: 100%;
    padding: 25px 30px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-body);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent-green);
    transition: var(--transition-fast);
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer-content {
    padding: 0 30px 25px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* ============ FOOTER ============ */
.footer {
    background: var(--bg-card);
    padding: 80px 0 30px;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand p {
    margin-top: 20px;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--bg-secondary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition-fast);
}

.social-link:hover {
    background: var(--accent-green);
    color: var(--bg-primary);
}

.footer-title {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: var(--text-primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--accent-green);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ============ WATERMARK (Light for SEO pages) ============ */
.watermark {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 0.75rem;
    color: rgba(127, 255, 0, 0.3);
    pointer-events: none;
    z-index: 9999;
}

/* Full watermark for secure pages */
.secure-page .watermark-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    background: repeating-linear-gradient(45deg,
            transparent,
            transparent 100px,
            rgba(127, 255, 0, 0.03) 100px,
            rgba(127, 255, 0, 0.03) 200px);
}

.secure-page .watermark-overlay::before {
    content: 'UNIQUE TECHNOLOGIES';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-30deg);
    font-size: 5rem;
    color: rgba(127, 255, 0, 0.05);
    white-space: nowrap;
    pointer-events: none;
}

/* ============ ANIMATIONS ============ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 var(--accent-green-glow);
    }

    50% {
        box-shadow: 0 0 0 15px transparent;
    }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .venues-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        flex-direction: column;
        padding: 30px;
        border-bottom: 1px solid var(--border-color);
        transform: translateY(-150%);
        opacity: 0;
        transition: var(--transition-normal);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ============ ANIMATION KEYFRAMES ============ */
@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

@keyframes slideInFromBottom {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* ============ FLOATING WHATSAPP BUTTON ============ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all var(--transition-normal);
    animation: pulse 2s infinite;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    animation: none;
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

/* ============ SCROLL TO TOP BUTTON ============ */
.scroll-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent-green);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: #15803d;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* ============ ENHANCED BUTTON ANIMATIONS ============ */
.btn {
    transition: all var(--transition-normal);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(22, 163, 74, 0.3);
}

.btn:active {
    transform: translateY(0);
}

/* ============ BTN-LINK STYLING ============ */
.btn-link {
    display: inline-block;
    color: var(--accent-green);
    font-weight: 600;
    text-decoration: none;
    margin-top: 15px;
    transition: all var(--transition-normal);
}

.btn-link:hover {
    color: #15803d;
    transform: translateX(5px);
}

.btn-link::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: var(--accent-green);
    transition: width var(--transition-normal);
}

.btn-link:hover::after {
    width: 100%;
}

/* ============ ENHANCED CARD HOVER EFFECTS ============ */
.service-card {
    transition: all var(--transition-normal);
}

.service-icon {
    transition: transform var(--transition-normal);
    display: inline-block;
    font-size: 2.5rem;
    color: var(--accent-green);
    margin-bottom: 15px;
}

.service-icon i {
    display: block;
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotate(5deg);
    animation: bounce 0.5s;
}

/* ============ STATS COUNTER SECTION ============ */
.stats-section {
    background: linear-gradient(135deg, var(--accent-green) 0%, #15803d 100%);
    color: white;
    padding: 60px 0;
    margin: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.counter {
    font-size: 3rem;
    font-weight: 800;
    display: block;
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ============ LOADING ANIMATIONS ============ */
.skeleton {
    background: linear-gradient(90deg,
            #f0f0f0 25%,
            #e0e0e0 50%,
            #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

/* ============ IMAGE FADE-IN ============ */
img {
    transition: opacity var(--transition-normal);
}

img.loaded {
    animation: fadeInUp 0.6s ease-out;
}

/* ============ RESPONSIVE ADJUSTMENTS ============ */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .scroll-to-top {
        bottom: 80px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    .counter {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 60px 0;
    }

    .hero {
        padding: 100px 15px 60px;
    }

    .btn {
        width: 100%;
    }

    .whatsapp-float {
        width: 45px;
        height: 45px;
    }

    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
}