@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* =====================================================
   DESIGN SYSTEM - Exact match to drysatishreddy.com
   ===================================================== */

:root {
    /* Color Palette - Exact match to reference */
    --primary: #19a2b9;
    /* Teal/Cyan - Buttons, Links, Icons, Accents */
    --heading: #0a2e81;
    /* Dark Blue - All Headings */
    --body: #232323;
    /* Dark Grey - Body Text */
    --dark-blue: #0a2e81;
    /* Dark Blue - Top Bar & Footer Background */
    --light-bg: #f8f9fa;
    /* Light Grey - Section Backgrounds */
    --white: #ffffff;
    /* White - Cards, Sections */

    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing System (8px base) */
    --space-xs: 0.5rem;
    /* 8px */
    --space-sm: 1rem;
    /* 16px */
    --space-md: 2rem;
    /* 32px */
    --space-lg: 4rem;
    /* 64px */
    --space-xl: 6rem;
    /* 96px */

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.15);
    --shadow-hover: 0 12px 48px rgba(0, 0, 0, 0.2);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
}

/* =====================================================
   BASE STYLES
   ===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--body);
    background-color: var(--white);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--heading);
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.625rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

h4 {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
}

p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all var(--transition-base);
}

a:hover {
    color: var(--heading);
}

/* =====================================================
   UTILITY CLASSES
   ===================================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-primary {
    color: var(--primary) !important;
}

.text-heading {
    color: var(--heading) !important;
}

.bg-light {
    background-color: var(--light-bg);
}

/* =====================================================
   NAVIGATION
   ===================================================== */

.top-bar {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 0.75rem 0;
    font-size: 0.875rem;
}

.top-bar a {
    color: var(--white);
    transition: color var(--transition-base);
}

.top-bar a:hover {
    color: var(--primary);
}

.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

/* =====================================================
   BUTTONS
   ===================================================== */

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: all var(--transition-base);
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #0d7a8c 100%);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(25, 162, 185, 0.5), 0 0 30px rgba(25, 162, 185, 0.3);
    position: relative;
    overflow: hidden;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 1.15rem 2.25rem;
    animation: buttonPulse 2s ease-in-out infinite;
}

@keyframes buttonPulse {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(25, 162, 185, 0.5), 0 0 30px rgba(25, 162, 185, 0.3);
    }

    50% {
        box-shadow: 0 6px 30px rgba(25, 162, 185, 0.7), 0 0 50px rgba(25, 162, 185, 0.5);
    }
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--heading) 0%, #0a2e81 100%);
    color: var(--white);
    box-shadow: 0 8px 35px rgba(10, 46, 129, 0.6), 0 0 60px rgba(10, 46, 129, 0.4);
    transform: translateY(-3px) scale(1.02);
    animation: none;
}

.btn-outline {
    background-color: transparent;
    color: var(--heading);
    border: 2px solid var(--heading);
}

.btn-outline:hover {
    background-color: var(--heading);
    color: var(--white);
    transform: translateY(-2px);
}

/* =====================================================
   CARDS
   ===================================================== */

.premium-card {
    background-color: var(--white);
    border-radius: 0;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-slow);
    overflow: hidden;
}

.premium-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-8px);
}

.service-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.premium-card:hover .service-card-img {
    transform: scale(1.1);
}

/* =====================================================
   FOOTER
   ===================================================== */

footer {
    background-color: var(--dark-blue);
    color: var(--white);
}

footer h4 {
    color: var(--white);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

footer a {
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition-base);
}

footer a:hover {
    color: var(--white);
}

/* =====================================================
   ANIMATIONS
   ===================================================== */

/* =====================================================
   ANIMATIONS - PREMIUM
   ===================================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes floatUp {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(25, 162, 185, 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(25, 162, 185, 0.6);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

@keyframes pulse-subtle {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

/* Blur to Focus Animation for Premium Excellence heading */
@keyframes blurFocus {
    0% {
        filter: blur(8px);
        opacity: 0.5;
        transform: scale(1.02);
    }

    50% {
        filter: blur(3px);
        opacity: 0.8;
    }

    100% {
        filter: blur(0px);
        opacity: 1;
        transform: scale(1);
    }
}

/* Text Glow Animation */
@keyframes textGlow {

    0%,
    100% {
        text-shadow: 0 0 40px rgba(253, 224, 71, 0.6), 0 0 80px rgba(253, 224, 71, 0.4);
    }

    50% {
        text-shadow: 0 0 60px rgba(253, 224, 71, 0.8), 0 0 120px rgba(253, 224, 71, 0.6), 0 0 160px rgba(253, 224, 71, 0.4);
    }
}

/* Animate blur focus class */
.animate-blur-focus {
    animation: blurFocus 2s ease-out forwards, textGlow 3s ease-in-out infinite 2s;
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-5deg);
    }

    to {
        opacity: 1;
        transform: rotate(0deg);
    }
}

/* NEW UNIQUE ANIMATIONS - SOPHISTICATED EFFECTS */

@keyframes parallaxShift {

    0%,
    100% {
        transform: translateY(0px) translateZ(0);
    }

    50% {
        transform: translateY(-8px) translateZ(0);
    }
}

@keyframes morphInScale {
    0% {
        opacity: 0;
        transform: scale(0.85) translateY(20px);
    }

    50% {
        opacity: 0.8;
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes floatingImage {

    0%,
    100% {
        transform: translateY(0px) rotateZ(0deg);
    }

    25% {
        transform: translateY(-12px) rotateZ(1deg);
    }

    50% {
        transform: translateY(-6px) rotateZ(0deg);
    }

    75% {
        transform: translateY(-10px) rotateZ(-1deg);
    }
}

@keyframes cardReveal {
    0% {
        opacity: 0;
        transform: translateY(30px) scaleY(0.8);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scaleY(1);
    }
}

@keyframes imageZoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.05);
    }
}

@keyframes borderGradientFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes lightPulse {

    0%,
    100% {
        box-shadow: 0 0 15px rgba(25, 162, 185, 0.2), inset 0 0 15px rgba(25, 162, 185, 0.05);
    }

    50% {
        box-shadow: 0 0 30px rgba(25, 162, 185, 0.4), inset 0 0 20px rgba(25, 162, 185, 0.1);
    }
}

@keyframes subtleSlideUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Premium Animation Classes */
.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.animate-slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

.animate-slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

.animate-scale-in {
    animation: scaleIn 0.6s ease-out;
}

.animate-float {
    animation: floatUp 3s ease-in-out infinite;
}

.animate-glow {
    animation: glow 2s ease-in-out infinite;
}

.animate-pulse {
    animation: pulse-subtle 2s ease-in-out infinite;
}

.animate-rotate-in {
    animation: rotateIn 0.8s ease-out;
}

/* NEW ANIMATION UTILITY CLASSES */

.animate-parallax {
    animation: parallaxShift 4s ease-in-out infinite;
    will-change: transform;
}

.animate-morph-in {
    animation: morphInScale 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.animate-floating-image {
    animation: floatingImage 5s ease-in-out infinite;
    will-change: transform;
}

.animate-card-reveal {
    animation: cardReveal 0.7s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.animate-image-zoom {
    animation: imageZoom 0.6s ease-out forwards;
}

.animate-border-glow {
    animation: borderGradientFlow 3s ease-in-out infinite;
}

.animate-light-pulse {
    animation: lightPulse 3s ease-in-out infinite;
}

.animate-subtle-up {
    animation: subtleSlideUp 0.6s ease-out forwards;
}

.animate-fade-scale {
    animation: fadeInScale 0.8s ease-out forwards;
}

/* Stagger animation delays */
.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

.delay-400 {
    animation-delay: 0.4s;
}

.delay-500 {
    animation-delay: 0.5s;
}

.delay-600 {
    animation-delay: 0.6s;
}

/* Image hover scale on demand */
.group:hover .image-zoom {
    animation: imageZoom 0.6s ease-out forwards;
}

.heading-xl {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.2;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

/* Mobile-first approach: 375px - 480px */
@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    h1 {
        font-size: 1.5rem;
        line-height: 1.2;
    }

    h2 {
        font-size: 1.25rem;
    }

    h3 {
        font-size: 1rem;
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.75rem;
        min-width: 100%;
    }
}

/* Tablet: 481px - 768px */
@media (min-width: 481px) and (max-width: 768px) {
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    .btn {
        padding: 0.8125rem 1.75rem;
        font-size: 0.8125rem;
    }
}

/* Small Desktop: 769px - 1024px */
@media (min-width: 769px) and (max-width: 1024px) {
    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }
}

/* Large Desktop: 1025px and above */
@media (min-width: 1025px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2.25rem;
    }

    h3 {
        font-size: 1.75rem;
    }
}

/* =====================================================
   ACCESSIBILITY
   ===================================================== */

:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}