/* ==================== CSS VARIABLES ==================== */
:root {
    --dark-bg: #0b0f19;
    --darker-bg: #080b12;
    --card-bg: #121826;
    --primary: #00aaff;
    --primary-dark: #0077ff;
    --accent: #c9d7ff;
    --text-light: #e2e8f0;
    --text-muted: #94a3b8;
    --white: #ffffff;
    --border-radius: 12px;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    --gradient: linear-gradient(135deg, var(--primary), var(--primary-dark));
    --accent-gradient: linear-gradient(135deg, var(--accent), #a8bfff);
}

/* ==================== BASE STYLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 100px 0;
}

/* ==================== TYPOGRAPHY & COMPONENTS ==================== */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-label {
    display: inline-block;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-light);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 35px;
    background: var(--gradient);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 170, 255, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-size: 0.95rem;
    text-decoration: none;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--accent-gradient);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 170, 255, 0.4);
    color: var(--dark-bg);
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: none;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-light);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    box-shadow: none;
}

.btn-outline::before {
    background: var(--gradient);
}

.btn-outline:hover {
    color: var(--white);
}

/* ==================== HEADER & NAVIGATION ==================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    backdrop-filter: blur(10px);
    padding: 15px 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

header.scrolled {
    padding: 12px 0;
    background-color: rgba(11, 15, 25, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.logo {
    font-size: 1.7rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
}
.logo-p2 {
    font-size: 1.7rem;
    font-weight: 800;
    background: #E2E8F0;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    margin-left: -30px;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 35px;
    height: 2px;
    background: var(--gradient);
    border-radius: 2px;
}

.nav-center {
    flex: 1;
    display: flex;
    justify-content: center;
    margin-left: 100px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    position: relative;
    transition: var(--transition);
    padding: 6px 0;
    color: var(--text-light);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-nav {
    padding: 10px 25px;
    font-size: 0.85rem;
    background: var(--gradient);
    border: 2px solid transparent;
    white-space: nowrap;
    color: var(--white);
    text-decoration: none;
}

.btn-nav:hover {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    color: var(--primary);
}

/* ==================== HERO SECTION ==================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #0a0e18 100%);
    padding: 100px 0 60px;
}

.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: var(--primary);
    top: 10%;
    left: 10%;
    animation: floatOrb 8s ease-in-out infinite;
}

.orb-2 {
    width: 200px;
    height: 200px;
    background: #c9d7ff;
    top: 60%;
    right: 15%;
    animation: floatOrb 6s ease-in-out infinite reverse;
}

.orb-3 {
    width: 150px;
    height: 150px;
    background: #0077ff;
    bottom: 20%;
    left: 20%;
    animation: floatOrb 10s ease-in-out infinite;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 2;
}

/* Hero Text Styles */
.hero-text {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.hero-badge span {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-title {
    margin-bottom: 30px;
    line-height: 1.1;
    size: 10px;
}

.title-line {
    display: block;
    font-size: clamp(30%, 4vw, 4rem);
    font-weight: 800;
    margin-bottom: 5px;
    color: var(--text-light);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, #c9d7ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
}

.ampersand {
    color: var(--text-muted);
    font-weight: 300;
    margin: 0 15px;
}

.hero-description {
    font-size: 1.3rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
}

.highlight {
    color: var(--text-light);
    font-weight: 600;
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--gradient);
    opacity: 0.3;
    z-index: -1;
    border-radius: 2px;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero CTA Buttons */
.hero-cta {
    display: flex;
    gap: 20px;
    align-items: center;
}

/* Hero Visual Section */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 600px;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 20px;
    background: var(--gradient);
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 60px;
    height: 60px;
    bottom: 20%;
    right: 15%;
    animation-delay: 2s;
    border-radius: 50%;
}

.shape-3 {
    width: 100px;
    height: 100px;
    top: 50%;
    left: 5%;
    animation-delay: 4s;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.shape-4 {
    width: 70px;
    height: 70px;
    bottom: 10%;
    left: 20%;
    animation-delay: 1s;
}

.main-visual {
    position: relative;
    z-index: 2;
}

.visual-container {
    position: relative;
    width: 380px;
    height: 450px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    background: linear-gradient(145deg, #0f1524, #0a0e18);
}

.hero-portrait {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.visual-container:hover .hero-portrait {
    transform: scale(1.05);
}

.visual-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    backdrop-filter: blur(10px);
}

.tech-stack {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tech-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: var(--text-light);
}

/* Floating Cards */
.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    animation: floatCard 4s ease-in-out infinite;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    color: var(--text-light);
}

.card-1 {
    top: 10%;
    right: -10%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: -15%;
    animation-delay: 1.5s;
}

.card-3 {
    bottom: 20%;
    right: -5%;
    animation-delay: 3s;
}

.card-icon {
    font-size: 1.2rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 2;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: var(--gradient);
    border-radius: 10px;
    animation: scrollBounce 2s infinite;
}

/* ==================== MODERN ABOUT SECTION ==================== */
.about-modern {
    background: var(--darker-bg);
    position: relative;
    overflow: hidden;
    padding: 120px 0;
}

.about-content-modern {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.experience-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    background: var(--gradient);
    padding: 20px 25px;
    border-radius: 20px;
    text-align: center;
    z-index: 2;
    box-shadow: 0 15px 35px rgba(0, 170, 255, 0.3);
}

.exp-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.exp-text {
    font-size: 0.8rem;
    color: var(--white);
    opacity: 0.9;
    font-weight: 500;
}

.about-image-container {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    max-width: 600px;
    
}

.about-image {
    width: 100%;
    height: 550px;
    object-fit: cover;
    display: block;
}

.image-frame {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border-radius: 20px;
    pointer-events: none;
}

.about-details h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

.about-details > p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.expertise-grid {
    display: grid;
    gap: 25px;
    margin: 40px 0;
}

.expertise-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.expertise-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.1);
}

.expertise-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--white);
    flex-shrink: 0;
}

.expertise-content h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-light);
}

.expertise-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

.skills-modern h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 600;
    color: var(--text-light);
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill-pill {
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    color: var(--text-light);
}

.skill-pill:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
}

/* ==================== MODERN SERVICES SECTION ==================== */
.services-modern {
    background: var(--dark-bg);
    position: relative;
    padding: 120px 0;
}

.services-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.service-card-modern {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.1);
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.service-icon-modern {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
}

.service-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0.1;
}

.service-card-modern h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--text-light);
}

.service-card-modern p {
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    margin-bottom: 30px;
}

.service-features li {
    padding: 8px 0;
    color: var(--text-muted);
    position: relative;
    padding-left: 20px;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 600;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.service-link:hover {
    gap: 15px;
    color: var(--primary-dark);
}

/* ==================== MODERN PROJECTS SECTION ==================== */
.projects-modern {
    background: var(--darker-bg);
    padding: 120px 0;
}

.projects-showcase {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.project-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.project-content {
    padding-right: 40px;
}

.project-category {
    display: inline-block;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: var(--primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-featured h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-light);
}

.project-featured p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.project-tech span {
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 16px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

.project-links {
    display: flex;
    gap: 15px;
}

.project-visual {
    position: relative;
}

.project-image {
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.project-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.project-highlights {
    position: absolute;
    bottom: -30px;
    left: -30px;
    display: flex;
    gap: 20px;
}

.highlight {
    background: var(--gradient);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 170, 255, 0.3);
    min-width: 100px;
}

.highlight-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.highlight-text {
    font-size: 0.8rem;
    color: var(--white);
    opacity: 0.9;
    font-weight: 500;
}

.projects-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.project-card-modern {
    border-radius: 25px;
    overflow: hidden;
    position: relative;
    transition: var(--transition);
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.project-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.project-image-modern {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.project-image-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.project-card-modern:hover .project-image-modern img {
    transform: scale(1.1);
}

.project-overlay-modern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 30px;
    opacity: 0;
    transition: var(--transition);
}

.project-card-modern:hover .project-overlay-modern {
    opacity: 1;
}

.project-info h4 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-light);
}

.project-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

.project-link {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    flex-shrink: 0;
}

.project-link:hover {
    transform: scale(1.1);
    background: var(--primary-dark);
}

/* ==================== MODERN CONTACT SECTION ==================== */
.contact-modern {
    background: var(--dark-bg);
    padding: 120px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin: 40px 0;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.contact-method:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(10px);
    border-color: rgba(255, 255, 255, 0.1);
}

.method-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--white);
    flex-shrink: 0;
}

.method-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--text-light);
}

.method-info p {
    font-size: 1rem;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--text-light);
}

.method-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.social-links-modern {
    display: flex;
    gap: 15px;
}

.social-link-modern {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link-modern:hover {
    background: var(--gradient);
    color: var(--white);
    transform: translateY(-3px);
    border-color: transparent;
}

.contact-form-modern {
    background: var(--card-bg);
    padding: 50px;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.modern-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group-modern {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group-modern label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
}

.form-input-modern {
    padding: 15px 20px;
    background: var(--darker-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-light);
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
    font-size: 1rem;
}

.form-input-modern:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 170, 255, 0.1);
    background: rgba(11, 15, 25, 0.8);
}

.form-input-modern::placeholder {
    color: var(--text-muted);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ==================== MODERN FOOTER ==================== */
.footer-modern {
    background: var(--darker-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 80px 0 40px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    font-size: 2rem;
    margin-bottom: 20px;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
    display: block;
}

.footer-brand p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 30px;
    font-size: 1rem;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link-footer {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link-footer:hover {
    background: var(--gradient);
    color: var(--white);
    transform: translateY(-3px);
    border-color: transparent;
}

.footer-links-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column ul li a {
    color: var(--text-muted);
    transition: var(--transition);
    font-size: 0.95rem;
    text-decoration: none;
}

.footer-column ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 30px;
}

.footer-legal a {
    color: var(--text-muted);
    transition: var(--transition);
    text-decoration: none;
}

.footer-legal a:hover {
    color: var(--primary);
}

/* ==================== ANIMATIONS ==================== */
@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-15px) scale(1.03);
        opacity: 1;
    }
}

@keyframes floatOrb {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.05);
    }
}

@keyframes floatCard {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(2deg);
    }
}

@keyframes scrollBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) scaleY(1);
    }
    40% {
        transform: translateY(-10px) scaleY(0.95);
    }
    60% {
        transform: translateY(-5px) scaleY(0.98);
    }
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in {
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.fade-in-left {
    opacity: 0;
    animation: fadeInLeft 1s ease forwards;
}

.fade-in-right {
    opacity: 0;
    animation: fadeInRight 1s ease forwards;
}

/* ==================== RESPONSIVE STYLES ==================== */
@media (max-width: 1200px) {
    .hero-content {
        gap: 60px;
    }
    
    .about-content-modern,
    .project-featured,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .project-content {
        padding-right: 0;
    }
    
    .visual-container {
        width: 340px;
        height: 400px;
    }
}

@media (max-width: 992px) {
    .nav-center {
        margin-left: 40px;
    }
    
    .nav-links {
        gap: 25px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text {
        order: 2;
    }
    
    .hero-visual {
        order: 1;
        height: 500px;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .floating-card {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-center {
        display: none;
    }
    
    .btn-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .navbar {
        gap: 15px;
    }
    
    .services-grid-modern,
    .projects-grid-modern {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .project-links {
        flex-direction: column;
    }
    
    .footer-links-modern {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom-modern {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .project-featured h3 {
        font-size: 2rem;
    }
    
    .contact-form-modern {
        padding: 30px 25px;
    }
    
    .service-card-modern {
        padding: 30px 25px;
    }
    
    .hero-visual {
        height: 400px;
    }
    
    .visual-container {
        width: 280px;
        height: 340px;
    }
}

@media (max-width: 576px) {
    .project-highlights {
        position: relative;
        bottom: 0;
        left: 0;
        justify-content: center;
        margin-top: 20px;
    }
    
    .highlight {
        min-width: 80px;
        padding: 15px;
    }
    
    .projects-grid-modern {
        grid-template-columns: 1fr;
    }
    
    .project-card-modern {
        min-width: auto;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}
/* Hide default cursor globally */
* {
  cursor: none !important;
}

/* Custom cursor */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  background: #7AC5FF;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  box-shadow: 0 0 25px #2957ee;
  transform: translate(-50%, -50%) scale(1);
  transition: width 0.2s ease, height 0.2s ease, transform 0.1s ease;
}

/* Hover on clickable stuff */
.cursor.hover {
  width: 40px;
  height: 40px;
  background: transparent;
  border: 2px solid #E2E8F0;
  box-shadow: none;
}

/* Click animation */
.cursor.click {
  transform: translate(-50%, -50%) scale(0.8);
  background: #7AC5FF;
}

