/* ========================================
   Sticky footer overrides (keep at end to ensure precedence)
   ======================================== */
#footer-column footer-legal{
    padding: 30px;
    margin: 0;
    margin-top: 300px;
    padding-left: 500px;
}

.modern-footer {
    margin-top: auto !important;
}

/* Limit flex layout only to pages that include the modern footer */
body {
    display:block!important;
    flex-direction: initial !important;
}

body:has(> footer.modern-footer) {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Reduce extra gap above footer on pages using modern footer */
body:has(> footer.modern-footer) > section:last-of-type {
    margin-bottom: 0 !important;
}

/* Slightly tighter top padding for a cleaner join */
.modern-footer {
    padding-top: 2.5rem !important;
}

/* ========================================
   Footer visual refinements (attractive + aligned)
   ======================================== */
.modern-footer .footer-container:first-child {
    align-items: start;
    gap: 2rem;
    grid-template-columns: repeat(4, 1fr);
}

.footer-about .footer-logo h3 {
    font-weight: 700;
    letter-spacing: 0.3px;
}

.footer-about .tagline {
    display: inline-block;
    margin-top: 4px;
    opacity: 0.9;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.footer-social .social-link {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    transition: transform 0.2s ease, background 0.2s ease;
}

.footer-social .social-link:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.16);
}

.footer-nav h4,
.footer-contact h4 {
    font-weight: 600;
    margin-bottom: 14px;
}

.footer-nav .nav-list,
.footer-nav .services-list {
    list-style: none;
    padding: 0;
    margin: 0 0 10px 0;
}

.footer-nav li { margin-bottom: 8px; }

.footer-nav .nav-link {
    color: var(--footer-text-primary);
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.2s ease, text-underline-offset 0.2s ease;
}

.footer-nav .nav-link:hover {
    opacity: 1;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-contact .contact-info { display: grid; gap: 10px; }

.footer-contact .contact-item {
    display: grid;
    grid-template-columns: 28px 1fr;
    align-items: start;
    gap: 10px;
}

.footer-contact .contact-item i {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
}

.footer-contact a { color: var(--footer-text-primary); text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; text-underline-offset: 3px; }

.footer-bottom {
    border-top: 1px solid var(--footer-border);
}

.footer-bottom .footer-container {
    align-items: center;
    gap: 1rem;
    justify-content: center;
}

.footer-links { display: flex; gap: 14px; flex-wrap: wrap; }
.footer-link { color: var(--footer-text-primary); opacity: 0.9; text-decoration: none; }
.footer-link:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 768px) {
    .modern-footer .footer-container:first-child { gap: 2rem; grid-template-columns: 1fr; }
    .footer-social { margin-top: 10px; }
}

/* ========================================
   Footer heading accent and column polish (match reference look)
   ======================================== */
.modern-footer .footer-about h3,
.modern-footer .footer-nav h4,
.modern-footer .footer-contact h4,
.modern-footer .services-title {
    position: relative;
    padding-bottom: 6px;
    margin-bottom: 14px;
}

.modern-footer .footer-about h3::after,
.modern-footer .footer-nav h4::after,
.modern-footer .footer-contact h4::after,
.modern-footer .services-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 38px;
    height: 3px;
    border-radius: 3px;
    background: var(--footer-accent, #00b3ff);
}

.modern-footer .nav-list li,
.modern-footer .services-list li { margin-bottom: 6px; }

.modern-footer .nav-list li:last-child,
.modern-footer .services-list li:last-child { margin-bottom: 0; }

.modern-footer .footer-container:first-child {
    grid-template-columns: repeat(4, 1fr);
}

.modern-footer .contact-item span,
.modern-footer .contact-item a { opacity: 0.95; }

.modern-footer .contact-item i { color: var(--footer-text-primary); }

.modern-footer .footer-bottom {
    backdrop-filter: saturate(120%) blur(0px);
}

/* ========================================
   FINAL FOOTER LAYOUT OVERRIDES – ensure 4 columns on desktop
   Keep these at the very end for precedence
   ======================================== */
.modern-footer .footer-container:first-child {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 1.75rem !important;
    margin-bottom: 1.75rem !important;
}

@media (max-width: 992px) {
    .modern-footer .footer-container:first-child {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* Centered, polished copyright styling */
.footer-bottom { padding: 1.25rem 0 !important; }
.footer-bottom .footer-container { text-align: center; }
.footer-bottom .footer-container::before,
.footer-bottom .footer-container::after {
    content: '';
    display: inline-block;
    width: 48px;
    height: 2px;
    margin: 0 12px 6px 12px;
    vertical-align: middle;
    background: linear-gradient(90deg, transparent, var(--footer-accent, #00b3ff), transparent);
}
.copyright p {
    margin: 0;
    font-weight: 600;
    letter-spacing: 0.2px;
    opacity: 0.95;
}

@media (max-width: 768px) {
    .modern-footer .footer-container:first-child {
        grid-template-columns: 1fr !important;
    }
}

/* CSS Fallbacks for older browsers */
@supports not (backdrop-filter: blur(10px)) {
    .footer-newsletter,
    .navbar,
    .testimonial-card,
    .service-card,
    .contact-form input,
    .newsletter-form input {
        background: rgba(255, 255, 255, 0.9) !important;
    }
}

/* ========================================
   LAYOUT: Sticky footer
   Keeps footer at bottom on short pages, after content on long pages
   ======================================== */
html, body {
    height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.modern-footer {
    /* Push footer to bottom when content is short */
    margin-top: auto;
}

/* Global Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #667eea;
    --accent-color: #764ba2;
    --text-color: #2c3e50;
    --light-gray: #f8fafc;
    --white: #ffffff;
    --dark-gray: #34495e;
    --gradient-start: #667eea;
    --gradient-end: #764ba2;
    --transition: all 0.3s ease;
    --box-shadow: 0 10px 30px rgba(102, 126, 234, 0.1);
    --card-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    --hover-shadow: 0 15px 35px rgba(102, 126, 234, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Remove any default spacing between sections */
section {
    margin: 0;
    padding: 0;
}

/* Ensure hero and about sections connect seamlessly */
.hero + .about {
    margin-top: 0;
    padding-top: 0;
}

/* Additional rules to eliminate any gaps */
.hero {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.about {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Additional fix for white gap at top */
html {
    margin: 0 !important;
    padding: 0 !important;
}

body {
    margin: 0 !important;
    padding: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Force remove any potential gaps */
.hero, .about {
    margin: 0 !important;
}

.hero {
    padding: 0 20px 0 !important;
}

.about {
    padding: 0 0 80px !important;
}

html {
    scroll-behavior: smooth;
    height: 100%;
    scroll-padding-top: 80px;
}

/* Ensure smooth scrolling without gaps */
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Remove any potential gaps between sections */
.hero, .about, .services, .portfolio, .testimonials, .contact {
    margin: 0;
    padding-top: 0;
    padding-bottom: 0;
}

/* Enhanced smooth transitions */
* {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Remove transition from specific elements that shouldn't have it */
.navbar, .hero-content, .portfolio-item img {
    transition: none;
}

.navbar {
    transition: all 0.3s ease;
}

.hero-content {
    transition: all 0.3s ease;
}

.portfolio-item img {
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    min-height: 100%;
    overflow-x: hidden;
    background-color: var(--white);
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(102, 126, 234, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(118, 75, 162, 0.03) 0%, transparent 50%);
    background-attachment: fixed;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo h1 {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.logo h1:hover {
    color: #00ff87;
    transform: scale(1.05);
}

.logo p {
    color: var(--white);
    font-size: 0.9rem;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.logo p:hover {
    color: #60efff;
    opacity: 1;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--gradient-start);
    transform: translateY(-2px);
}

.nav-links a:hover::after {
    width: 100%;
}

.menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--white);
    transition: all 0.1s ease;
}
.form-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.form-group i {
    margin-right: 10px;
    color: #555;
}

input, textarea {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
/* Contact Section Styling */
.contact {
  padding: 60px 20px;
  background: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: var(--primary-color);
  font-weight: 700;
}

.contact h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
  border-radius: 2px;
}

/* Form Box */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 10px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* Form Group */
.form-group {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  background-color: #ffffff;
  position: relative;
  transition: all 0.3s ease;
}

.form-group:focus-within {
  border-color: #007bff;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.form-group i {
  color: #007bff;
  margin-right: 10px;
  font-size: 10px;
}

/* Inputs & Textarea */
input,
textarea {
  flex: 1;
  border: solid 1px #ccc;
  outline: none;
  background: #ffffff;
  font-size: 1rem;
  padding: 10px;
  color: #333333;
}

textarea {
  resize: vertical;
  min-height: 100px;
}

/* Submit Button */
.contact-form button[type="submit"],
.cta-button {
  background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
  border: none;
  padding: 14px 28px;
  border-radius: 50px;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: var(--box-shadow);
  width: 100%;
}

.contact-form button[type="submit"]:hover,
.cta-button:hover {
  transform: scale(1.05);
  box-shadow: var(--hover-shadow);
  background: linear-gradient(45deg, var(--gradient-end), var(--gradient-start));
}

/* Success Message */
#successMessage {
  background: #d4edda !important;
  color: #155724 !important;
  padding: 15px !important;
  border-radius: 8px !important;
  margin-top: 20px !important;
  text-align: center !important;
  border: 1px solid #c3e6cb !important;
  font-weight: 500 !important;
}

/* Newsletter Styling */
.footer-newsletter {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(52, 152, 219, 0.05));
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: left;
}

.footer-newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-color), #00ff87, var(--secondary-color));
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.footer-newsletter:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(52, 152, 219, 0.15);
    border-color: rgba(52, 152, 219, 0.3);
}

.footer-newsletter h3 {
    color: var(--white);
    margin-bottom: 1.2rem;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: left;
    position: relative;
    z-index: 1;
}

.footer-newsletter h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), #00ff87);
    border-radius: 2px;
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1rem;
    text-align: left;
    position: relative;
    z-index: 1;
}

.newsletter-form .form-group {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    border: none;
    background: transparent;
    padding: 0;
    position: relative;
    z-index: 1;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 16px 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.newsletter-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.25);
    transform: scale(1.02);
}

.newsletter-btn {
    background: linear-gradient(135deg, var(--secondary-color), #00ff87);
    border: none;
    padding: 16px 24px;
    border-radius: 12px;
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    position: relative;
    overflow: hidden;
}

.newsletter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.newsletter-btn:hover::before {
    left: 100%;
}

.newsletter-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
    background: linear-gradient(135deg, #00ff87, var(--secondary-color));
}

.newsletter-btn:active {
    transform: translateY(-1px) scale(1.02);
}

.newsletter-btn i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.newsletter-btn:hover i {
    transform: translateX(3px);
}

.newsletter-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.8rem;
    margin-top: 1.5rem;
    position: relative;
    z-index: 1;
}

.newsletter-benefits small {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-align: left;
}

.newsletter-benefits small:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(52, 152, 219, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.2);
}

.newsletter-benefits small:nth-child(1) { animation-delay: 0.1s; }
.newsletter-benefits small:nth-child(2) { animation-delay: 0.2s; }
.newsletter-benefits small:nth-child(3) { animation-delay: 0.3s; }

.newsletter-benefits small {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

.newsletter-success {
    background: linear-gradient(135deg, rgba(0, 255, 135, 0.15), rgba(52, 152, 219, 0.1));
    border: 1px solid rgba(0, 255, 135, 0.4);
    color: #00ff87;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: left;
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    font-size: 1rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    animation: slideInUp 0.5s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.newsletter-success i {
    font-size: 1.3rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .floating-element {
        display: none;
    }
    
    /* Mobile Navigation */
    .nav-links {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
        flex-direction: column;
        padding: 2rem 0;
        transform: translateY(-100%);
        transition: transform 0.3s ease;
        box-shadow: 0 10px 30px rgba(0,0,0,0.2);
        z-index: 999;
    }
    
    .nav-links.active {
        transform: translateY(0);
    }
    
    .nav-links a {
        margin: 0.5rem 0;
        padding: 1rem 2rem;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        text-align: left;
    }
    
    .nav-links a:last-child {
        border-bottom: none;
    }
    
    .menu-btn {
        display: block;
    }
    
    .logo h1 {
        font-size: 1.3rem;
    }
    
    .logo p {
        font-size: 0.8rem;
    }
    
    /* Mobile Hero Adjustments */
    .hero {
        padding: 0 20px 20px;
    }
    
    .hero-content {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.5rem;
        padding: 0 1rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
        padding: 0 1rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        padding: 0 1rem;
        margin-bottom: 2rem;
    }
    
    .cta-button {
        padding: 1rem 2rem;
        font-size: 0.9rem;
    }
    
    .navbar {
        padding: 0.8rem 1rem;
    }
    
    .logo h1 {
        font-size: 1.2rem;
    }
    
    .logo p {
        font-size: 0.75rem;
    }
    
    /* Extra Small Mobile Hero */
    .hero {
        padding: 0 15px 15px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
        padding: 0 0.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.3rem;
        padding: 0 0.5rem;
    }
    
    .hero-content p {
        font-size: 0.95rem;
        padding: 0 0.5rem;
        margin-bottom: 2rem;
    }
    
    .cta-button {
        padding: 0.9rem 1.8rem;
        font-size: 0.85rem;
    }
}

.menu-btn:hover {
    color: #3de04b;
    transform: scale(1.1);
}

/* Modern Hero Section */
.hero {
    min-height: 100vh;
    background: #0a0a0a;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 0;
    margin: 0;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    min-height: 100vh;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    animation: fadeInUp 1s ease-out;
    justify-content: center;
    align-items: flex-start;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 0.6rem 1.8rem;
    width: fit-content;
    animation: slideInLeft 1s ease-out 0.2s backwards;
    margin-bottom: 0.5rem;
}

.badge-text {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.hero-headline {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: #ffffff;
    margin: 0;
    animation: slideInLeft 1s ease-out 0.4s backwards;
    margin-bottom: 0.5rem;
}

.highlight-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-subheading {
    font-size: 1.25rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    max-width: 500px;
    animation: fadeInUp 1s ease-out 0.6s backwards;
    margin-bottom: 0.5rem;
}

.hero-actions {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.8s backwards;
    margin-top: 0.5rem;
}

.cta-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
    border: none;
    cursor: pointer;
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.4);
}

.cta-secondary {
    background: transparent;
    color: white;
    padding: 1rem 2rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 1.5rem;
    animation: fadeInUp 1s ease-out 1s backwards;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease-out 0.6s backwards;
}

.hero-mockup {
    position: relative;
    width: 100%;
    max-width: 500px;
    animation: mockupFloat 6s ease-in-out infinite;
}

.mockup-screen {
    background: #1a1a1a;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.mockup-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(102, 126, 234, 0.1) 0%, 
        rgba(118, 75, 162, 0.1) 25%, 
        rgba(255, 255, 255, 0.05) 50%, 
        rgba(102, 126, 234, 0.1) 75%, 
        rgba(118, 75, 162, 0.1) 100%);
    background-size: 300% 300%;
    animation: gradientShift 8s ease-in-out infinite;
    border-radius: 20px;
    z-index: 1;
}

.mockup-screen::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        rgba(102, 126, 234, 0.3), 
        rgba(118, 75, 162, 0.3), 
        rgba(255, 255, 255, 0.1), 
        rgba(102, 126, 234, 0.3));
    background-size: 400% 400%;
    border-radius: 22px;
    z-index: -1;
    animation: borderGlow 6s ease-in-out infinite;
    filter: blur(8px);
}

.mockup-screen:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 
                0 0 40px rgba(102, 126, 234, 0.2);
}

.mockup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.mockup-dots {
    display: flex;
    gap: 0.5rem;
}

.mockup-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #333;
}

.mockup-dots span:nth-child(1) { background: #ff5f57; }
.mockup-dots span:nth-child(2) { background: #ffbd2e; }
.mockup-dots span:nth-child(3) { background: #28ca42; }

.mockup-url {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    font-family: monospace;
}

.mockup-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

.mockup-nav {
    display: flex;
    gap: 1rem;
}

.mockup-nav span {
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    animation: navPulse 4s ease-in-out infinite;
}

.mockup-nav span:nth-child(1) { 
    width: 60px; 
    animation-delay: 0s;
}
.mockup-nav span:nth-child(2) { 
    width: 40px; 
    animation-delay: 0.5s;
}
.mockup-nav span:nth-child(3) { 
    width: 50px; 
    animation-delay: 1s;
}
.mockup-nav span:nth-child(4) { 
    width: 35px; 
    animation-delay: 1.5s;
}

.mockup-hero {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mockup-text-line {
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    width: 80%;
    animation: textShimmer 5s ease-in-out infinite;
}

.mockup-text-line.short {
    width: 60%;
    animation-delay: 0.5s;
}

.mockup-button {
    height: 32px;
    width: 120px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    margin-top: 0.5rem;
    animation: buttonGlow 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.mockup-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: buttonShine 4s ease-in-out infinite;
}

.mockup-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.mockup-card {
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: cardFloat 6s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.mockup-card:nth-child(1) {
    animation-delay: 0s;
}

.mockup-card:nth-child(2) {
    animation-delay: 1.5s;
}

.mockup-card:nth-child(3) {
    animation-delay: 3s;
}

.mockup-card:nth-child(4) {
    animation-delay: 4.5s;
}

.mockup-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        transparent 0%, 
        rgba(102, 126, 234, 0.1) 50%, 
        transparent 100%);
    animation: cardShimmer 8s ease-in-out infinite;
}

/* Hero Background Elements */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    overflow: hidden;
}

.bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(118, 75, 162, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 20% 70%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
    animation: gradientShift 20s ease-in-out infinite;
}

.bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    animation: float 15s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #764ba2, #667eea);
    bottom: 20%;
    right: -5%;
    animation-delay: 5s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(102, 126, 234, 0.2));
    top: 50%;
    left: 80%;
    animation-delay: 10s;
}

.shape-4 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, rgba(118, 75, 162, 0.1), rgba(255, 255, 255, 0.05));
    top: 70%;
    left: 10%;
    animation-delay: 15s;
}

.bg-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: particleFloat 20s linear infinite;
}

.particle:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 40%;
    left: 60%;
    animation-delay: 4s;
}

.particle:nth-child(3) {
    top: 60%;
    left: 30%;
    animation-delay: 8s;
}

.particle:nth-child(4) {
    top: 80%;
    left: 70%;
    animation-delay: 12s;
}

.particle:nth-child(5) {
    top: 30%;
    left: 80%;
    animation-delay: 16s;
}

/* Animations */
@keyframes gradientShift {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(180deg); }
}

@keyframes particleFloat {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) scale(0);
        opacity: 0;
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Mockup Animation Keyframes */
@keyframes mockupFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-10px) rotate(0.5deg);
    }
    66% {
        transform: translateY(-5px) rotate(-0.3deg);
    }
}

@keyframes borderGlow {
    0%, 100% {
        background-position: 0% 50%;
        opacity: 0.3;
    }
    50% {
        background-position: 100% 50%;
        opacity: 0.6;
    }
}

@keyframes navPulse {
    0%, 100% {
        opacity: 0.2;
        transform: scaleX(1);
    }
    50% {
        opacity: 0.4;
        transform: scaleX(1.05);
    }
}

@keyframes textShimmer {
    0%, 100% {
        opacity: 0.3;
        background: rgba(255, 255, 255, 0.3);
    }
    50% {
        opacity: 0.6;
        background: rgba(102, 126, 234, 0.4);
    }
}

@keyframes buttonGlow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(102, 126, 234, 0.3);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 15px rgba(102, 126, 234, 0.6);
        transform: scale(1.02);
    }
}

@keyframes buttonShine {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes cardFloat {
    0%, 100% {
        transform: translateY(0px);
        opacity: 0.1;
    }
    50% {
        transform: translateY(-3px);
        opacity: 0.2;
    }
}

@keyframes cardShimmer {
    0%, 100% {
        opacity: 0;
        transform: translateX(-100%);
    }
    50% {
        opacity: 0.3;
        transform: translateX(100%);
    }
}

/* Hero Section Responsive Styles */
@media (max-width: 1200px) {
    .hero-container {
        gap: 3rem;
        padding: 0 1.5rem;
    }
    
    .hero-headline {
        font-size: 3rem;
    }
    
    .hero-mockup {
        max-width: 450px;
    }
}

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
        padding: 2rem 1.5rem;
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    
    .hero-content {
        order: 1;
        align-items: center;
        gap: 2.2rem;
    }
    
    .hero-visual {
        order: 2;
        justify-content: center;
    }
    
    .hero-headline {
        font-size: 2.8rem;
        margin-bottom: 0.3rem;
    }
    
    .hero-subheading {
        max-width: 600px;
        margin: 0 auto;
        margin-bottom: 0.3rem;
    }
    
    .hero-actions {
        justify-content: center;
        margin-top: 0.3rem;
    }
    
    .hero-stats {
        justify-content: center;
        margin-top: 1.2rem;
    }
}

@media (max-width: 768px) {
    .hero-container {
        padding: 1.5rem 1rem;
        gap: 2.5rem;
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }
    
    .hero-content {
        gap: 2rem;
    }
    
    .hero-headline {
        font-size: 2.5rem;
        margin-bottom: 0.2rem;
    }
    
    .hero-subheading {
        font-size: 1.1rem;
        margin-bottom: 0.2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-top: 0.2rem;
    }
    
    .cta-primary,
    .cta-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .hero-stats {
        gap: 1.8rem;
        margin-top: 1rem;
    }
    
    .hero-mockup {
        max-width: 350px;
        animation: mockupFloat 8s ease-in-out infinite;
    }
    
    .mockup-screen {
        padding: 1rem;
    }
    
    /* Reduce animation intensity on mobile for better performance */
    .mockup-screen::after {
        filter: blur(6px);
        opacity: 0.4;
    }
    
    .mockup-nav span {
        animation-duration: 6s;
    }
    
    .mockup-text-line {
        animation-duration: 7s;
    }
    
    .mockup-button {
        animation-duration: 4s;
    }
    
    .mockup-card {
        animation-duration: 8s;
    }
}

@media (max-width: 480px) {
    .hero-container {
        padding: 1rem 0.75rem;
        gap: 2rem;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    
    .hero-content {
        gap: 1.8rem;
    }
    
    .hero-headline {
        font-size: 2rem;
        margin-bottom: 0.1rem;
    }
    
    .hero-subheading {
        font-size: 1rem;
        margin-bottom: 0.1rem;
    }
    
    .hero-badge {
        padding: 0.5rem 1.2rem;
        margin-bottom: 0.3rem;
    }
    
    .badge-text {
        font-size: 0.8rem;
    }
    
    .hero-actions {
        margin-top: 0.1rem;
    }
    
    .cta-primary,
    .cta-secondary {
        padding: 0.9rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.2rem;
        align-items: center;
        margin-top: 0.8rem;
    }
    
    .stat-item {
        text-align: center;
    }
    
    .hero-mockup {
        max-width: 280px;
    }
    
    .mockup-screen {
        padding: 0.75rem;
    }
    
    .mockup-grid {
        gap: 0.5rem;
    }
    
    .mockup-card {
        height: 45px;
    }
}

@media (max-width: 360px) {
    .hero-container {
        padding: 0.8rem 0.5rem;
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }
    
    .hero-content {
        gap: 1.5rem;
    }
    
    .hero-headline {
        font-size: 1.8rem;
        margin-bottom: 0.1rem;
    }
    
    .hero-subheading {
        font-size: 0.95rem;
        margin-bottom: 0.1rem;
    }
    
    .hero-actions {
        margin-top: 0.1rem;
    }
    
    .cta-primary,
    .cta-secondary {
        padding: 0.8rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .hero-stats {
        margin-top: 0.6rem;
        gap: 1rem;
    }
    
    .hero-mockup {
        max-width: 250px;
        animation: mockupFloat 10s ease-in-out infinite;
    }
    
    /* Further reduce animations on very small screens */
    .mockup-screen::after {
        filter: blur(4px);
        opacity: 0.3;
    }
    
    .mockup-nav span,
    .mockup-text-line,
    .mockup-card {
        animation-duration: 10s;
    }
    
    .mockup-button {
        animation-duration: 5s;
    }
}

/* Animations */
@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 fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes zoomInOut {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.1);
    }
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
        background: linear-gradient(45deg, rgba(0,255,135,0.2), rgba(96,239,255,0.2));
    }
    33% {
        transform: translate(30px, -50px) rotate(120deg);
        background: linear-gradient(45deg, rgba(96,239,255,0.2), rgba(0,255,135,0.2));
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
        background: linear-gradient(45deg, rgba(0,255,135,0.2), rgba(96,239,255,0.2));
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
        background: linear-gradient(45deg, rgba(96,239,255,0.2), rgba(0,255,135,0.2));
    }
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .floating-element {
        display: none;
    }
    
    /* Mobile Navigation */
    .nav-links {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
        flex-direction: column;
        padding: 2rem 0;
        transform: translateY(-100%);
        transition: transform 0.3s ease;
        box-shadow: 0 10px 30px rgba(0,0,0,0.2);
        z-index: 999;
    }
    
    .nav-links.active {
        transform: translateY(0);
    }
    
    .nav-links a {
        margin: 0.5rem 0;
        padding: 1rem 2rem;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        text-align: left;
    }
    
    .nav-links a:last-child {
        border-bottom: none;
    }
    
    .menu-btn {
        display: block;
    }
    
    .logo h1 {
        font-size: 1.3rem;
    }
    
    .logo p {
        font-size: 0.8rem;
    }
    
    /* Mobile Hero Adjustments */
    .hero {
        padding: 0 20px 20px;
    }
    
    .hero-content {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.5rem;
        padding: 0 1rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
        padding: 0 1rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        padding: 0 1rem;
        margin-bottom: 2rem;
    }
    
    .cta-button {
        padding: 1rem 2rem;
        font-size: 0.9rem;
    }
    
    .navbar {
        padding: 0.8rem 1rem;
    }
    
    .logo h1 {
        font-size: 1.2rem;
    }
    
    .logo p {
        font-size: 0.75rem;
    }
    
    /* Extra Small Mobile Hero */
    .hero {
        padding: 0 15px 15px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
        padding: 0 0.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.3rem;
        padding: 0 0.5rem;
    }
    
    .hero-content p {
        font-size: 0.95rem;
        padding: 0 0.5rem;
        margin-bottom: 2rem;
    }
    
    .cta-button {
        padding: 0.9rem 1.8rem;
        font-size: 0.85rem;
    }
}

/* About Section - Modern 3D Animated */
.about {
    padding: 0 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
    perspective: 1000px;
    margin-top: -5px;
    margin-bottom: 0;
}

/* Ensure container inside about section has no top spacing */
.about .container {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.about__heading {
    text-align: left;
    color: var(--white);
    margin: 0 0 3rem 0;
    margin-top: 0 !important;
    padding-top: 0 !important;
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s ease-out;
    letter-spacing: -0.02em;
}

.about__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
    margin: 0 0 4rem 0;
}

/* Hero Image Section */
.about__hero {
    perspective: 1000px;
    transform-style: preserve-3d;
}

.about__image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.3),
        0 0 0 1px rgba(255,255,255,0.1);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-style: preserve-3d;
}

.about__image-container:hover {
    transform: rotate3d(1, 1, 0, 8deg) scale(1.02);
    box-shadow: 
        0 30px 60px rgba(0,0,0,0.4),
        0 0 0 2px rgba(255,255,255,0.2);
}

.about__image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform;
}

.about__image-container:hover .about__image {
    transform: scale(1.1);
}

.about__image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(102, 126, 234, 0.2),
        rgba(118, 75, 162, 0.2)
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}

.about__image-container:hover .about__image-overlay {
    opacity: 1;
}

/* Text Content Section */
.about__text-content {
    perspective: 800px;
}

.about__card {
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-style: preserve-3d;
    position: relative;
    overflow: hidden;
    animation: fadeInRight 0.8s ease-out 0.2s both;
}

.about__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00ff87, #60efff);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.about__card:hover {
    transform: translateY(-8px) rotate3d(1, 0, 0, 2deg);
    background: rgba(255,255,255,0.15);
    box-shadow: 
        0 25px 50px rgba(0,0,0,0.3),
        0 0 0 1px rgba(255,255,255,0.3);
}

.about__card:hover::before {
    transform: scaleX(1);
}

.about__title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.8rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.about__tagline {
    font-size: 1.1rem;
    color: #00ff87;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.about__description {
    font-size: 1rem;
    color: var(--white);
    line-height: 1.7;
    opacity: 0.95;
    margin-bottom: 2rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.about__cta {
    display: inline-block;
    background: linear-gradient(135deg, #00ff87, #60efff);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 8px 25px rgba(0,255,135,0.3);
    position: relative;
    overflow: hidden;
}

.about__cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.about__cta:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0,255,135,0.4);
}

.about__cta:hover::before {
    left: 100%;
}

/* Skills Section */
.about__skills {
    text-align: left;
    position: relative;
    z-index: 2;
}

.about__skills-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.about__skills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.about__skill-chip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    padding: 0.8rem 1.2rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    animation: fadeInUp 0.8s ease-out both;
    transform-style: preserve-3d;
}

.about__skill-chip:nth-child(1) { animation-delay: 0.5s; }
.about__skill-chip:nth-child(2) { animation-delay: 0.6s; }
.about__skill-chip:nth-child(3) { animation-delay: 0.7s; }
.about__skill-chip:nth-child(4) { animation-delay: 0.8s; }
.about__skill-chip:nth-child(5) { animation-delay: 0.9s; }
.about__skill-chip:nth-child(6) { animation-delay: 1.0s; }
.about__skill-chip:nth-child(7) { animation-delay: 1.1s; }
.about__skill-chip:nth-child(8) { animation-delay: 1.2s; }

.about__skill-chip:hover {
    transform: translateY(-5px) scale(1.05) rotate3d(1, 1, 0, 5deg);
    background: rgba(255,255,255,0.2);
    box-shadow: 
        0 15px 30px rgba(0,0,0,0.3),
        0 0 20px rgba(0,255,135,0.3);
    border-color: rgba(0,255,135,0.5);
}

.about__skill-chip i {
    font-size: 1.2rem;
    color: #00ff87;
    transition: all 0.3s ease;
}

.about__skill-chip:hover i {
    transform: scale(1.2) rotate(360deg);
    color: #60efff;
}

.about__skill-chip span {
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

/* Background Elements */
.about__bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
}

.about__bg-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    animation: float3d 8s ease-in-out infinite;
    transform-style: preserve-3d;
}

.about__bg-shape--1 {
    width: 120px;
    height: 120px;
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.about__bg-shape--2 {
    width: 80px;
    height: 80px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.about__bg-shape--3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float3d {
    0%, 100% { 
        transform: translate3d(0, 0, 0) rotate3d(1, 1, 0, 0deg); 
    }
    50% { 
        transform: translate3d(0, -20px, 20px) rotate3d(1, 1, 0, 180deg); 
    }
}

.skill:hover span {
    color: #00ff87;
}

/* ===== RESPONSIVE DESIGN FOR ABOUT SECTION ===== */

/* Large Tablets and Small Laptops */
@media (max-width: 1024px) {
    .about {
        padding: 0 0 60px;
    }
    
    .about__heading {
        font-size: 2.2rem;
        margin-bottom: 2.5rem;
    }
    
    .about__content {
        gap: 2.5rem;
        margin-bottom: 3rem;
    }
    
    .about__card {
        padding: 2rem;
    }
    
    .about__title {
        font-size: 2rem;
    }
    
    .about__image {
        height: 350px;
    }
    
    .about__skills-container {
        max-width: 700px;
        gap: 0.8rem;
    }
    
    .about__skill-chip {
        padding: 0.7rem 1rem;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .about {
        padding: 0 0 50px;
    }
    
    .about__heading {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .about__content {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2.5rem;
    }
    
    .about__hero {
        order: 1;
        margin-bottom: 1rem;
    }
    
    .about__text-content {
        order: 2;
    }
    
    .about__card {
        padding: 1.8rem;
        text-align: left;
    }
    
    .about__title {
        font-size: 1.8rem;
    }
    
    .about__tagline {
        font-size: 1rem;
    }
    
    .about__description {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .about__cta {
        padding: 0.9rem 1.8rem;
        font-size: 0.95rem;
        width: 100%;
        max-width: 250px;
    }
    
    .about__image {
        height: 300px;
    }
    
    .about__skills-title {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }
    
    .about__skills-container {
        max-width: 100%;
        gap: 0.7rem;
    }
    
    .about__skill-chip {
        padding: 0.6rem 0.9rem;
        font-size: 0.85rem;
    }
    
    .about__skill-chip i {
        font-size: 1.1rem;
    }
    
    /* Disable 3D effects on mobile for better performance */
    .about__image-container:hover {
        transform: scale(1.02);
    }
    
    .about__card:hover {
        transform: translateY(-5px);
    }
    
    .about__skill-chip:hover {
        transform: translateY(-3px) scale(1.03);
    }
}

/* Mobile Phones */
@media (max-width: 480px) {
    .about {
        padding: 0 0 40px;
    }
    
    .about__heading {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }
    
    .about__content {
        gap: 1.5rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .about__card {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }
    
    .about__title {
        font-size: 1.6rem;
        margin-bottom: 0.6rem;
    }
    
    .about__tagline {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
    }
    
    .about__description {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }
    
    .about__cta {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        max-width: 200px;
    }
    
    .about__image {
        height: 250px;
    }
    
    .about__skills {
        padding: 0 1rem;
    }
    
    .about__skills-title {
        font-size: 1.2rem;
        margin-bottom: 1.2rem;
    }
    
    .about__skills-container {
        gap: 0.6rem;
        justify-content: center;
    }
    
    .about__skill-chip {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
        min-width: 120px;
        justify-content: center;
    }
    
    .about__skill-chip i {
        font-size: 1rem;
    }
    
    .about__skill-chip span {
        font-size: 0.8rem;
    }
    
    /* Stack skills in 2 columns on very small screens */
    .about__skills-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
        max-width: 300px;
        margin: 0 auto;
    }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
    .about {
        padding: 0 0 30px;
    }
    
    .about__heading {
        font-size: 1.6rem;
        padding: 0 0.5rem;
    }
    
    .about__content {
        padding: 0 0.5rem;
    }
    
    .about__card {
        padding: 1.2rem;
        margin: 0 0.3rem;
    }
    
    .about__title {
        font-size: 1.4rem;
    }
    
    .about__tagline {
        font-size: 0.9rem;
    }
    
    .about__description {
        font-size: 0.85rem;
    }
    
    .about__cta {
        padding: 0.7rem 1.3rem;
        font-size: 0.85rem;
        max-width: 180px;
    }
    
    .about__image {
        height: 200px;
    }
    
    .about__skills {
        padding: 0 0.5rem;
    }
    
    .about__skills-container {
        grid-template-columns: 1fr;
        max-width: 250px;
        gap: 0.7rem;
    }
    
    .about__skill-chip {
        padding: 0.6rem 1rem;
        min-width: auto;
    }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .about {
        padding: 0 0 30px;
    }
    
    .about__heading {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .about__content {
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .about__card {
        padding: 1.5rem;
    }
    
    .about__image {
        height: 200px;
    }
    
    .about__skills {
        margin-top: 1rem;
    }
    
    .about__skills-title {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .about__skills-container {
        gap: 0.6rem;
    }
    
    .about__skill-chip {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .about__image-container:hover {
        transform: none;
    }
    
    .about__card:hover {
        transform: none;
    }
    
    .about__skill-chip:hover {
        transform: none;
    }
    
    .about__cta:hover {
        transform: none;
    }
    
    /* Add active states for touch devices */
    .about__image-container:active {
        transform: scale(0.98);
    }
    
    .about__card:active {
        transform: translateY(-2px);
    }
    
    .about__skill-chip:active {
        transform: scale(0.95);
    }
    
    .about__cta:active {
        transform: scale(0.95);
    }
}

/* Services Section - Modern Premium Design */
.services {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(102, 126, 234, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(20, 184, 166, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.services h2 {
    text-align: left;
    color: var(--primary-color);
    margin-bottom: 4rem;
    font-size: 3rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease-out;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end), #14b8a6);
    border-radius: 2px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* Services heading is now handled by .services h2 */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 2;
    margin-bottom: 3rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 3rem 2.5rem;
    border-radius: 24px;
    text-align: left;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.08),
        0 8px 16px rgba(102, 126, 234, 0.1);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transform-style: preserve-3d;
    text-decoration: none;
    display: block;
    color: inherit;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end), #14b8a6);
    transform: scaleX(0);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 24px 24px 0 0;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.03) 0%, 
        rgba(118, 75, 162, 0.03) 50%, 
        rgba(20, 184, 166, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.6s ease;
    border-radius: 24px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(0, 255, 135, 0.1));
    opacity: 0;
    transition: all 0.4s ease;
    border-radius: 20px;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02) rotate3d(1, 0, 0, 2deg);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.12),
        0 15px 30px rgba(102, 126, 234, 0.15),
        0 0 0 1px rgba(102, 126, 234, 0.1);
    border-color: rgba(102, 126, 234, 0.2);
    text-decoration: none;
    color: inherit;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover::after {
    opacity: 1;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:active {
    transform: translateY(-10px) scale(1.01);
}

.service-card:focus {
    outline: none;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.12),
        0 15px 30px rgba(102, 126, 234, 0.15),
        0 0 0 2px rgba(102, 126, 234, 0.3);
}

.service-icon {
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.service-icon i {
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: inline-block;
    filter: drop-shadow(0 4px 8px rgba(102, 126, 234, 0.2));
}

.service-card:hover .service-icon i {
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 8px 16px rgba(102, 126, 234, 0.4));
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.service-card:hover h3 {
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.service-card p {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.service-card:hover p {
    opacity: 1;
    color: var(--dark-gray);
}

/* Service Features */
.service-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 2;
}

.service-features span {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    color: var(--gradient-start);
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(102, 126, 234, 0.2);
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.service-card:hover .service-features span {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(118, 75, 162, 0.15));
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

/* Service CTA Button */
.service-cta {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    z-index: 2;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    border: 2px solid transparent;
    display: inline-block;
    margin-top: 1rem;
}

.service-cta::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.6s ease;
}

.service-cta:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.service-cta:hover::before {
    left: 100%;
}

.service-cta:active {
    transform: translateY(-1px) scale(1.02);
}

/* Service cards are now clickable links that redirect to pricing page */

/* Service Features List */
.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.service-features li {
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 0.8rem;
}

.service-card:hover .service-features li {
    color: var(--dark-gray);
    transform: translateX(5px);
}

.service-card:hover .service-features li::before {
    color: #00ff87;
}

.services__bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.services__bg-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(0, 255, 135, 0.1));
    animation: float 6s ease-in-out infinite;
}

.services__bg-shape--1 {
    width: 120px;
    height: 120px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.services__bg-shape--2 {
    width: 80px;
    height: 80px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.services__bg-shape--3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 15%;
    animation-delay: 4s;
}

/* New Animations */
@keyframes slideInDown {
    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);
    }
}

/* Portfolio Section */
.portfolio {
    padding: 100px 0;
    background: var(--light-gray);
    position: relative;
    overflow: hidden;
}

.portfolio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') center/cover;
    opacity: 0.1;
    z-index: 0;
    animation: zoomInOut 20s infinite alternate;
}

.portfolio h2 {
    text-align: left;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 2.5rem;
    position: relative;
    z-index: 2;
    animation: slideInDown 1s ease-out;
}

.portfolio h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
    border-radius: 2px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: var(--white);
    box-shadow: var(--card-shadow);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    animation: fadeInUp 1s ease-out;
    cursor: pointer;
}

.portfolio-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0,255,135,0.2), rgba(96,239,255,0.2));
    opacity: 0;
    transition: all 0.5s ease;
    z-index: 1;
}

.portfolio-item:hover {
    transform: translateY(-20px) scale(1.03);
    box-shadow: var(--hover-shadow);
}

.portfolio-item:hover::before {
    opacity: 1;
}

.portfolio-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    display: block;
}

.portfolio-item:hover img {
    transform: scale(1.1) rotate(2deg);
    filter: brightness(1.1);
}

.portfolio-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, var(--gradient-start), var(--gradient-end));
    color: var(--white);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    backdrop-filter: blur(10px);
    z-index: 2;
}

.portfolio-item:hover .portfolio-overlay {
    bottom: 0;
}

.portfolio-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease 0.1s;
}

.portfolio-overlay p {
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease 0.2s;
    color: rgba(255, 255, 255, 0.9);
}

.portfolio-item:hover .portfolio-overlay h3,
.portfolio-item:hover .portfolio-overlay p {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-overlay p:first-of-type {
    color: #00ff87;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.portfolio-overlay p:last-of-type {
    font-size: 0.9rem;
    line-height: 1.6;
}

.portfolio-link {
    display: inline-block;
    background: var(--white);
    color: var(--gradient-start);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    transition: all 0.3s ease;
    border: 2px solid var(--white);
}

.portfolio-link:hover {
    background: transparent;
    color: var(--white);
    transform: translateY(-2px);
}

/* Add staggered animation for portfolio items */
.portfolio-item:nth-child(1) { animation-delay: 0.1s; }
.portfolio-item:nth-child(2) { animation-delay: 0.3s; }
.portfolio-item:nth-child(3) { animation-delay: 0.5s; }

/* Enhanced motion effects */
@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 slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Add hover effect for portfolio section title */
.portfolio h2 {
    text-align: left;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 2.5rem;
    position: relative;
    z-index: 2;
    animation: slideInDown 1s ease-out;
}

.portfolio h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
    border-radius: 2px;
}

.portfolio h2:hover {
    color: var(--gradient-start);
    transform: scale(1.05);
    transition: all 0.3s ease;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.02), rgba(52, 152, 219, 0.03));
    position: relative;
    overflow: hidden;
}

.testimonials__header {
    text-align: left;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.testimonials__heading {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out;
}

.testimonials__tagline {
    color: var(--text-color);
    font-size: 1.1rem;
    opacity: 0.8;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 2;
    margin-bottom: 3rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out;
    cursor: pointer;
}

.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.2s; }
.testimonial-card:nth-child(3) { animation-delay: 0.3s; }
.testimonial-card:nth-child(4) { animation-delay: 0.4s; }
.testimonial-card:nth-child(5) { animation-delay: 0.5s; }
.testimonial-card:nth-child(6) { animation-delay: 0.6s; }

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(0, 255, 135, 0.1));
    opacity: 0;
    transition: all 0.4s ease;
    border-radius: 20px;
}

.testimonial-card:hover {
    transform: translateY(-8px) scale(1.02) rotate3d(1, 1, 0, 2deg);
    box-shadow: 0 20px 40px rgba(52, 152, 219, 0.15);
}

.testimonial-card:hover::before {
    opacity: 1;
}

.testimonial-card__quote {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-card__quote i {
    font-size: 2rem;
    color: var(--secondary-color);
    opacity: 0.7;
    transition: all 0.4s ease;
}

.testimonial-card:hover .testimonial-card__quote i {
    color: #00ff87;
    transform: scale(1.1);
}

.testimonial-card__text {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.testimonial-card:hover .testimonial-card__text {
    color: var(--dark-gray);
}

.testimonial-card__client {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.testimonial-card__avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(52, 152, 219, 0.2);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.testimonial-card:hover .testimonial-card__avatar {
    border-color: var(--secondary-color);
    transform: scale(1.05);
}

.testimonial-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-card__info {
    flex: 1;
}

.testimonial-card__name {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    transition: all 0.3s ease;
}

.testimonial-card:hover .testimonial-card__name {
    color: var(--secondary-color);
}

.testimonial-card__role {
    color: var(--text-color);
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.testimonial-card__rating {
    display: flex;
    gap: 0.25rem;
}

.testimonial-card__rating i {
    color: #ffd700;
    font-size: 0.8rem;
}

.testimonials__mobile-nav {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    position: relative;
    z-index: 2;
}

.testimonials__nav-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.testimonials__nav-btn:hover {
    background: var(--white);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.testimonials__nav-btn i {
    color: var(--primary-color);
    font-size: 1rem;
}

.testimonials__dots {
    display: flex;
    gap: 0.5rem;
}

.testimonials__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(52, 152, 219, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonials__dot.active,
.testimonials__dot:hover {
    background: var(--secondary-color);
    transform: scale(1.2);
}

.testimonials__bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.testimonials__bg-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(0, 255, 135, 0.1));
    animation: float 6s ease-in-out infinite;
}

.testimonials__bg-shape--1 {
    width: 100px;
    height: 100px;
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.testimonials__bg-shape--2 {
    width: 80px;
    height: 80px;
    top: 70%;
    right: 15%;
    animation-delay: 2s;
}

.testimonials__bg-shape--3 {
    width: 120px;
    height: 120px;
    bottom: 25%;
    left: 20%;
    animation-delay: 4s;
}

/* Testimonials Responsive Styles */
@media (max-width: 1200px) {
    .testimonials__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 992px) {
    .testimonials__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .testimonials__heading {
        font-size: 2.2rem;
        margin-bottom: 0.75rem;
    }
    
    .testimonial-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .testimonials {
        padding: 0 0 80px;
    }
    
    .testimonials__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    .testimonials__heading {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .testimonials__tagline {
        font-size: 1rem;
    }
    
    .testimonial-card {
        padding: 1.75rem 1.25rem;
    }
    
    .testimonial-card__quote i {
        font-size: 1.8rem;
    }
    
    .testimonial-card__text {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .testimonial-card__name {
        font-size: 1rem;
    }
    
    .testimonial-card__role {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .testimonials {
        padding: 0 0 60px;
    }
    
    .testimonials__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 400px;
        margin: 0 auto 2rem;
    }
    
    .testimonials__heading {
        font-size: 1.8rem;
        margin-bottom: 0.75rem;
    }
    
    .testimonials__tagline {
        font-size: 0.95rem;
    }
    
    .testimonial-card {
        padding: 2rem 1.5rem;
    }
    
    .testimonial-card__quote i {
        font-size: 2rem;
    }
    
    .testimonial-card__text {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .testimonial-card__name {
        font-size: 1.1rem;
    }
    
    .testimonial-card__role {
        font-size: 0.9rem;
    }
    
    .testimonials__mobile-nav {
        display: flex;
    }
    
    .testimonials__bg-shape {
        display: none;
    }
    
    /* Mobile carousel specific styles */
    .testimonials__grid {
        position: relative;
        overflow: hidden;
    }
    
    .testimonial-card {
        transition: opacity 0.3s ease, transform 0.3s ease;
    }
    
    .testimonial-card[style*="display: none"] {
        opacity: 0;
        transform: translateY(20px);
    }
}

@media (max-width: 400px) {
    .testimonials__grid {
        gap: 1.25rem;
    }
    
    .testimonial-card {
        padding: 1.75rem 1.25rem;
    }
    
    .testimonial-card__text {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .testimonial-card__name {
        font-size: 1rem;
    }
    
    .testimonial-card__role {
        font-size: 0.85rem;
    }
}

.client-details {
    flex: 1;
    min-width: 0; /* Prevents flex item from overflowing */
}

.client-details h4 {
    color: #00ff87;
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.client-details p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rating {
    margin-top: 0.5rem;
}

.rating i {
    color: #ffd700;
    font-size: 0.9rem;
    margin-right: 0.2rem;
}

.testimonial-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

.testimonial-nav:hover {
    background: #00ff87;
    transform: translateY(-50%) scale(1.1);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #00ff87;
    transform: scale(1.2);
}

/* Responsive adjustments for testimonials */
@media (max-width: 1200px) {
    .testimonials-container {
        padding: 0 4rem;
    }
}

@media (max-width: 992px) {
    .testimonial {
        padding: 2rem;
    }
    
    .testimonial p {
        font-size: 1rem;
        margin: 1.5rem 0;
    }
}

@media (max-width: 768px) {
    .testimonial-group {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonials-container {
        padding: 0 3rem;
    }
    
    .testimonial-nav {
        width: 40px;
        height: 40px;
    }
    
    .testimonial {
        padding: 1.5rem;
    }
    
    .quote-icon {
        font-size: 1.5rem;
        top: 15px;
        left: 15px;
    }
    
    .client-image {
        width: 50px;
        height: 50px;
    }
    
    .client-details h4 {
        font-size: 1.1rem;
    }
    
    .client-details p {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .testimonials h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .testimonials-container {
        padding: 0 2.5rem;
    }
    
    .testimonial {
        padding: 1.25rem;
    }
    
    .testimonial p {
        font-size: 0.95rem;
        margin: 1.25rem 0;
    }
    
    .client-info {
        gap: 0.75rem;
    }
    
    .client-image {
        width: 45px;
        height: 45px;
    }
    
    .client-details h4 {
        font-size: 1rem;
    }
    
    .client-details p {
        font-size: 0.8rem;
    }
    
    .rating i {
        font-size: 0.8rem;
    }
}

@media (max-width: 400px) {
    .testimonials-container {
        padding: 0 2rem;
    }
    
    .testimonial-nav {
        width: 35px;
        height: 35px;
    }
    
    .testimonial {
        padding: 1rem;
    }
    
    .quote-icon {
        font-size: 1.25rem;
        top: 12px;
        left: 12px;
    }
    
    .testimonial p {
        font-size: 0.9rem;
        margin: 1rem 0;
    }
    
    .client-image {
        width: 40px;
        height: 40px;
    }
    
    .client-details h4 {
        font-size: 0.95rem;
    }
    
    .client-details p {
        font-size: 0.75rem;
    }
}

/* Landscape mode adjustments */
@media (max-height: 500px) and (orientation: landscape) {
    .testimonials {
        padding: 0 0 60px;
    }
    
    .testimonial {
        padding: 1rem;
    }
    
    .testimonial p {
        margin: 1rem 0;
    }
    
    .client-info {
        margin-top: 1rem;
    }
}

/* Contact Section */
.contact {
    padding: 0 0 80px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.contact-form {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    position: relative;
    margin-bottom: 20px;
}

.form-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

.form-group textarea i {
    top: 25px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #4a90e2;
    box-shadow: 0 0 10px rgba(74, 144, 226, 0.1);
    outline: none;
}

.contact-form .cta-button {
    width: 100%;
    padding: 15px;
    background: #4a90e2;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contact-form .cta-button:hover {
    background: #357abd;
    transform: translateY(-2px);
}

.contact-info {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: #f8f9fa;
    transform: translateX(5px);
}

.contact-item i {
    font-size: 24px;
    margin-right: 15px;
    color: #4a90e2;
}

.contact-item a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #4a90e2;
}

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
}

/* Get in Touch Section Styles */
.py-5 {
    padding: 3rem 0;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.justify-content-center {
    justify-content: center;
}

.col-12 {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 15px;
}

.text-center {
    text-align: left;
}

.mb-5 {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--dark-gray);
    opacity: 0.8;
    margin-bottom: 2rem;
}

.contact-wrapper {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-info {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: fit-content;
}

.info-header {
    text-align: left;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--light-gray);
}

.info-header h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.info-header p {
    color: var(--dark-gray);
    opacity: 0.8;
}

.info-items {
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    padding: 20px;
    margin-bottom: 15px;
    background: var(--light-gray);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.info-item:hover {
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.info-icon i {
    color: white;
    font-size: 20px;
}

.info-details h5 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-weight: 600;
}

.info-details p {
    color: var(--dark-gray);
    margin: 0;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 2px solid var(--light-gray);
}

.social-link {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    color: white;
}

.contact-form {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-group label {
    position: absolute;
    left: 45px;
    top: 15px;
    color: #999;
    font-size: 14px;
    transition: all 0.3s ease;
    pointer-events: none;
    background: white;
    padding: 0 5px;
    z-index: 1;
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label {
    top: -8px;
    left: 15px;
    font-size: 12px;
    color: var(--secondary-color);
    font-weight: 600;
}

.form-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary-color);
    font-size: 16px;
    z-index: 2;
}

.form-group textarea + i {
    top: 25px;
    transform: none;
}

.form-control {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
    font-family: inherit;
    position: relative;
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    outline: none;
}

.form-control:valid {
    border-color: #27ae60;
}

textarea.form-control {
    height: 120px;
    resize: vertical;
    padding-top: 15px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: white;
    width: 100%;
    padding: 18px;
    font-size: 18px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(52, 152, 219, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-primary.loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Success and Error Messages */
.success-message {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #27ae60;
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10000;
    animation: slideInRight 0.5s ease;
}

.success-message.error {
    background: #e74c3c;
}

.success-message i {
    font-size: 20px;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        color: #e74c3c;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Form Error Messages */
.error-message {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 5px;
    padding: 5px 10px;
    background: rgba(231, 76, 60, 0.1);
    border-radius: 5px;
    border-left: 3px solid #e74c3c;
    animation: fadeIn 0.3s ease;
}

.form-group.is-invalid input,
.form-group.is-invalid textarea {
    border-color: #e74c3c;
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.2);
}

.form-group.is-valid input,
.form-group.is-valid textarea {
    border-color: #27ae60;
    box-shadow: 0 0 0 2px rgba(39, 174, 96, 0.2);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Character Counter */
.char-counter {
    position: absolute;
    bottom: 5px;
    right: 10px;
    font-size: 0.75rem;
    color: #7f8c8d;
    background: rgba(255, 255, 255, 0.9);
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 500;
}

.char-counter span {
    font-weight: 600;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem 0;
    text-align: left;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--secondary-color), var(--accent-color));
}

/* Footer Waves Animation */
.footer-waves {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    overflow: hidden;
    z-index: 1;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.3), rgba(52, 152, 219, 0.1));
    border-radius: 50% 50% 0 0;
    animation: wave 15s ease-in-out infinite;
}

.wave1 {
    opacity: 0.7;
    animation-delay: 0s;
}

.wave2 {
    opacity: 0.5;
    animation-delay: -5s;
}

.wave3 {
    opacity: 0.2;
    animation-delay: -10s;
}

@keyframes wave {
    0% { transform: translateX(0) scaleY(1); }
    50% { transform: translateX(-25%) scaleY(1.1); }
    100% { transform: translateX(-50%) scaleY(1); }
}

/* Footer Content */
.footer-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    align-items: start;
}

/* Footer Info Section */
.footer-info {
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.footer-logo h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-logo p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 20px;
}

.footer-description {
    line-height: 1.6;
    margin-bottom: 25px;
    opacity: 0.8;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
}

/* Footer Links Sections */
.footer-links,
.footer-services {
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.footer-links h3,
.footer-services h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--white);
    position: relative;
}

.footer-links h3::after,
.footer-services h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

.footer-links ul,
.footer-services ul {
    list-style: none;
    padding: 0;
}

.footer-links li,
.footer-services li {
    margin-bottom: 12px;
}

.footer-links a,
.footer-services a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-links a::before,
.footer-services a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--secondary-color);
}

.footer-links a:hover,
.footer-services a:hover {
    opacity: 1;
    color: var(--secondary-color);
    transform: translateX(5px);
}

.footer-links a:hover::before,
.footer-services a:hover::before {
    opacity: 1;
    left: -25px;
}

/* Newsletter Section - Styling is handled by the main newsletter CSS above */

/* Newsletter button styling is handled by the main newsletter CSS above */

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    text-align: left;
}

.footer-copyright p {
    opacity: 0.8;
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-legal a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
    font-size: 14px;
}

.footer-legal a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .hero-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .about-content,
    .services-grid,
    .portfolio-grid,
    .features-grid,
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    /* Navigation */
    .nav-links {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(44, 62, 80, 0.95);
        padding: 1rem;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        backdrop-filter: blur(10px);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        margin: 0;
        padding: 0.5rem 0;
    }

    .menu-btn {
        display: block;
    }

    /* Hero Section */
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    /* About Section */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .skills {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Services Section */
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* Portfolio Section */
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    /* Testimonials Section */
    .testimonial-group {
        grid-template-columns: 1fr;
    }

    .testimonials-container {
        padding: 0 1rem;
    }

    .testimonial-nav {
        width: 40px;
        height: 40px;
    }

    /* Why Choose Section */
    .features-grid {
        grid-template-columns: 1fr;
    }

    /* Process Section */
    .process-steps {
        grid-template-columns: 1fr;
    }

    /* Get in Touch Section */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .contact-wrapper {
        padding: 20px;
        margin: 0 15px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .info-item {
        padding: 15px;
    }
    
    .info-icon {
        width: 40px;
        height: 40px;
        margin-right: 15px;
    }
    
    .social-links {
        gap: 10px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    /* Footer Responsive */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: left;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: left;
        gap: 15px;
        align-items: flex-start;
    }
    
    .footer-legal {
        justify-content: center;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .newsletter-form button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .contact-wrapper {
        padding: 15px;
        margin: 0 10px;
    }
    
    .contact-info,
    .contact-form {
        padding: 20px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .info-item {
        flex-direction: column;
        text-align: left;
        padding: 20px 15px;
    }
    
    .info-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .process-steps::before {
        display: none;
    }

    /* Contact Section */
    .contact-form,
    .contact-info {
        padding: 20px;
    }

    /* Footer Responsive for Small Screens */
    .footer-content {
        padding: 0 15px;
    }
    
    .footer-grid {
        gap: 25px;
    }
    
    .footer-logo h2 {
        font-size: 1.5rem;
    }
    
    .footer-links h3,
    .footer-services h3,
    .footer-newsletter h3 {
        font-size: 1.2rem;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 20px;
    }

    /* Hero Section */
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content h2 {
        font-size: 1.2rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    /* About Section */
    .skills {
        grid-template-columns: 1fr;
    }

    .skill {
        padding: 1.5rem;
    }

    /* Services Section */
    .service-card {
        padding: 1.5rem;
    }

    .service-card i {
        font-size: 2rem;
    }

    .service-card h3 {
        font-size: 1.2rem;
    }

    /* Portfolio Section */
    .portfolio-item {
        margin-bottom: 1rem;
    }

    .portfolio-overlay {
        padding: 1rem;
    }

    .portfolio-overlay h3 {
        font-size: 1.2rem;
    }

    /* Testimonials Section */
    .testimonial {
        padding: 1.5rem;
    }

    .client-image {
        width: 50px;
        height: 50px;
    }

    .client-details h4 {
        font-size: 1rem;
    }

    .client-details p {
        font-size: 0.8rem;
    }

    /* Why Choose Section */
    .feature-card {
        padding: 1.5rem;
    }

    .feature-card i {
        font-size: 2rem;
    }

    .feature-card h3 {
        font-size: 1.2rem;
    }

    /* Process Section */
    .step {
        padding: 1.5rem;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .step h3 {
        font-size: 1.2rem;
    }

    /* Contact Section */
    .form-group {
        margin-bottom: 15px;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 12px 12px 12px 40px;
        font-size: 14px;
    }

    .contact-item {
        padding: 12px;
    }

    .contact-item i {
        font-size: 20px;
    }

    .contact-item a {
        font-size: 14px;
    }
}

/* Additional Responsive Fixes */
@media (max-width: 400px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content h2 {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .testimonial p {
        font-size: 0.9rem;
    }

    .feature-card,
    .step,
    .service-card {
        padding: 1rem;
    }
}

/* Fix for very small screens */
@media (max-width: 320px) {
    .container {
        padding: 0 15px;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .cta-button {
        padding: 0.7rem 1.2rem;
        font-size: 0.8rem;
    }
}

/* Landscape Mode Fixes */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 0 0 50px;
    }

    .nav-links {
        top: 60px;
    }

    .testimonial {
        padding: 1rem;
    }

    .contact-form textarea {
        height: 100px;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .cta-button,
    .testimonial-nav,
    .contact-form {
        display: none;
    }

    .container {
        width: 100%;
        max-width: none;
        padding: 0;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    a {
        text-decoration: none;
        color: #000;
    }
}

/* --- Motion & Animation Improvements --- */

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slide-up {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fade-in 1s ease both;
}

.animate-slide-up {
  animation: slide-up 1s cubic-bezier(0.23, 1, 0.32, 1) both;
}

/* Demo: Animate major sections on load */
.hero, .about, .services, .portfolio, .testimonials, .contact {
  opacity: 0;
  animation: fade-in 1.2s ease forwards;
}
.hero { animation-delay: 0.1s; }
.about { animation-delay: 0.3s; }
.services { animation-delay: 0.5s; }
.portfolio { animation-delay: 0.7s; }
.testimonials { animation-delay: 0.9s; }
.contact { animation-delay: 1.1s; }

/* Why Choose Me Section */
.why-choose {
    padding: 100px 0;
    background: linear-gradient(135deg, #e3f0ff 60%, #f8fbff 100%);
    position: relative;
    overflow: hidden;
    opacity: 1;
    transform: none;
    transition: none;
}

.why-choose::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1461749280684-dccba630e2f6?auto=format&fit=crop&w=1200&q=80') center/cover;
    opacity: 0.07;
    z-index: 0;
    pointer-events: none;
    animation: zoomInOut 20s infinite alternate;
}

.why-choose h2 {
    text-align: left;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 2.5rem;
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.07);
    animation: slideInDown 1s ease-out;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.feature-card {
    background: #fff;
    box-shadow: 0 8px 32px 0 rgba(52, 152, 219, 0.10);
    border: 1.5px solid #60aaff;
    border-radius: 18px;
    padding: 2.5rem;
    text-align: left;
    color: #23395d;
    opacity: 1;
    transform: none;
}

.feature-card:hover {
    box-shadow: 0 15px 30px rgba(44,62,80,0.12);
    background: rgba(255,255,255,0.95);
}

.feature-card i {
    font-size: 2.5rem;
    background: linear-gradient(45deg, #60efff, #00ff87);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #60efff;
    margin-bottom: 1.5rem;
    transition: none;
}

.feature-card:hover i {
    color: var(--accent-color);
}

.feature-card h3 {
    color: #23395d;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: none;
}

.feature-card:hover h3 {
    color: var(--secondary-color);
}

.feature-card p {
    color: #4a5a6a;
    line-height: 1.7;
    font-size: 1.08rem;
    transition: none;
}

.feature-card:hover p {
    color: var(--dark-gray);
}

.feature-card > * {
    position: relative;
    z-index: 2;
}

.feature-card::after {
    content: '';
    position: absolute;
    left: 50%; top: 50%;
    width: 0; height: 0;
    background: radial-gradient(circle, #60efff33 0%, transparent 80%);
    transform: translate(-50%, -50%);
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    transition: width 0.5s, height 0.5s, opacity 0.5s;
}

.feature-card:active::after {
    width: 180px; height: 180px;
    opacity: 0.5;
}

/* My Work Process Section */
.process {
    padding: 100px 0;
    background: linear-gradient(135deg, #e3f0ff 60%, #f8fbff 100%);
    position: relative;
    overflow: hidden;
    opacity: 1;
    transform: none;
    transition: none;
}

.process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1465101046530-73398c7f28ca?auto=format&fit=crop&w=1200&q=80') center/cover;
    opacity: 0.07;
    z-index: 0;
    pointer-events: none;
    animation: zoomInOut 20s infinite alternate;
}

.process h2 {
    text-align: left;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 2.5rem;
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.07);
    animation: slideInDown 1s ease-out;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--secondary-color);
    z-index: 1;
    opacity: 0.12;
}

.step {
    background: #fff;
    box-shadow: 0 8px 32px 0 rgba(52, 152, 219, 0.10);
    border: 1.5px solid #60aaff;
    border-radius: 18px;
    padding: 2rem;
    text-align: left;
    color: #23395d;
    opacity: 1;
    transform: none;
}

.step:hover {
    box-shadow: 0 15px 30px rgba(44,62,80,0.12);
    background: rgba(255,255,255,0.95);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #60efff, #00ff87);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
    transition: none;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.10);
}

.step h3 {
    color: #23395d;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: none;
}

.step p {
    color: #4a5a6a;
    line-height: 1.7;
    font-size: 1.05rem;
    transition: none;
}

.step > * {
    position: relative;
    z-index: 2;
}

.step::after {
    content: '';
    position: absolute;
    left: 50%; top: 50%;
    width: 0; height: 0;
    background: radial-gradient(circle, #60efff33 0%, transparent 80%);
    transform: translate(-50%, -50%);
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    transition: width 0.5s, height 0.5s, opacity 0.5s;
}

.step:active::after {
    width: 180px; height: 180px;
    opacity: 0.7;
}

.step:focus::after {
    width: 0; height: 0; opacity: 0;
}

.navbar.scrolled .nav-links a {
    color: #fff !important;
}

.navbar.scrolled .nav-links a:hover {
    color: var(--secondary-color) !important;
}

/* --- IMPROVED Why Choose Me & Process Section --- */

/* Animated Gradient Blobs */
.why-choose, .process {
    position: relative;
    overflow: hidden;
    opacity: 1;
    transform: none;
    transition: none;
}
.why-choose .blobs, .process .blobs {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
}
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.10;
    animation: blobMove 24s infinite alternate;
}
.blob1 { width: 320px; height: 320px; background: linear-gradient(135deg, #60efff, #00ff87); top: 10%; left: 5%; animation-delay: 0s; }
.blob2 { width: 220px; height: 220px; background: linear-gradient(135deg, #e74c3c, #60efff); top: 60%; left: 70%; animation-delay: 4s; }
.blob3 { width: 180px; height: 180px; background: linear-gradient(135deg, #3498db, #00ff87); top: 70%; left: 20%; animation-delay: 8s; }
@keyframes blobMove {
    0% { transform: scale(1) translate(0,0); }
    50% { transform: scale(1.08) translate(20px, -10px); }
    100% { transform: scale(1) translate(0,0); }
}

/* Animated Gradient Text for Headings */
.why-choose h2, .process h2 {
    background: linear-gradient(90deg, #60efff, #00ff87, #3498db, #e74c3c);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientFlow 6s ease-in-out infinite;
    font-weight: 700;
    letter-spacing: 1px;
}
@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Glassmorphism & Card/Step Animation */
.feature-card, .step {
    background: rgba(255,255,255,0.7);
    box-shadow: 0 8px 32px 0 rgba(44,62,80,0.10);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.13);
    opacity: 1;
    transform: none;
}
/* Staggered Animation */
.features-grid .feature-card:nth-child(1), .process-steps .step:nth-child(1) { animation-delay: 0.2s; }
.features-grid .feature-card:nth-child(2), .process-steps .step:nth-child(2) { animation-delay: 0.4s; }
.features-grid .feature-card:nth-child(3), .process-steps .step:nth-child(3) { animation-delay: 0.6s; }
.features-grid .feature-card:nth-child(4), .process-steps .step:nth-child(4) { animation-delay: 0.8s; }

/* Card/Step Hover Effect */
.feature-card:hover, .step:hover {
    box-shadow: 0 16px 32px 0 rgba(44,62,80,0.13);
    transform: translateY(-6px) scale(1.02);
    animation: none;
    border: 1.5px solid #60efff;
    background: rgba(255,255,255,0.90);
}

/* Ripple only on click */
.feature-card:active::after, .step:active::after {
    width: 180px; height: 180px;
    opacity: 0.7;
}
.feature-card:focus::after, .step:focus::after {
    width: 0; height: 0; opacity: 0;
}

/* Responsive for blobs */
@media (max-width: 900px) {
    .blob1, .blob2, .blob3 { width: 160px; height: 160px; }
}
@media (max-width: 600px) {
    .blob1, .blob2, .blob3 { display: none; }
}

/* Section fade-in/slide-up on scroll */
.why-choose, .process {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1.1s cubic-bezier(0.23, 1, 0.32, 1), transform 1.1s cubic-bezier(0.23, 1, 0.32, 1);
}
.why-choose.in-view, .process.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Parallax blobs (JS will update transform) */
.blob {
    will-change: transform;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Education & Achievements Section */
.education {
    padding: 100px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    overflow: hidden;
}

/* Animated background blobs */
.education::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') center/cover;
    opacity: 0.05;
    z-index: 0;
    animation: zoomInOut 20s infinite alternate;
}

.education .blobs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.education .blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
    animation: blobMove 24s infinite alternate;
}

.education .blob1 {
    width: 320px;
    height: 320px;
    background: linear-gradient(135deg, #60efff, #00ff87);
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.education .blob2 {
    width: 220px;
    height: 220px;
    background: linear-gradient(135deg, #e74c3c, #60efff);
    top: 60%;
    left: 70%;
    animation-delay: 4s;
}

.education .blob3 {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, #3498db, #00ff87);
    top: 70%;
    left: 20%;
    animation-delay: 8s;
}

.education h2 {
    text-align: left;
    background: linear-gradient(90deg, #60efff, #00ff87, #3498db, #e74c3c);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientFlow 6s ease-in-out infinite;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    position: relative;
    z-index: 2;
    font-weight: 700;
    letter-spacing: 1px;
}

.education-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.education-section h3,
.certifications-section h3,
.achievements-section h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.education-section h3::after,
.certifications-section h3::after,
.achievements-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), #60efff);
    border-radius: 3px;
}

.education-section h3 i,
.certifications-section h3 i,
.achievements-section h3 i {
    background: linear-gradient(45deg, var(--secondary-color), #60efff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2rem;
}

.education-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.education-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 1.5rem;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.education-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(96, 239, 255, 0.1), rgba(0, 255, 135, 0.1));
    opacity: 0;
    transition: all 0.4s ease;
}

.education-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(96, 239, 255, 0.25);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(240, 255, 255, 0.95));
    border: 1px solid rgba(96, 239, 255, 0.3);
}

.education-card:hover::before {
    opacity: 1;
    background: linear-gradient(45deg, 
        rgba(96, 239, 255, 0.2), 
        rgba(0, 255, 135, 0.2),
        rgba(52, 152, 219, 0.2)
    );
}

.education-card:hover .education-icon {
    transform: scale(1.1) rotate(360deg);
    box-shadow: 0 8px 25px rgba(96, 239, 255, 0.5);
    background: linear-gradient(45deg, #00ff87, #60efff, #3498db);
}

.education-card:hover .education-details h4 {
    color: #00ff87;
    text-shadow: 0 0 10px rgba(0, 255, 135, 0.2);
}

.education-card:hover .education-details .status {
    background: linear-gradient(45deg, rgba(96, 239, 255, 0.2), rgba(0, 255, 135, 0.2));
    color: #3498db;
    transform: translateX(5px);
    box-shadow: 0 2px 10px rgba(96, 239, 255, 0.2);
}

.education-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(45deg, var(--secondary-color), #60efff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(96, 239, 255, 0.3);
}

.education-card:hover .education-icon {
    transform: scale(1.1) rotate(360deg);
    box-shadow: 0 8px 25px rgba(96, 239, 255, 0.5);
    background: linear-gradient(45deg, #00ff87, #60efff, #3498db);
}

.education-icon i {
    font-size: 2rem;
    color: white;
    transition: all 0.4s ease;
}

.education-details h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.education-card:hover .education-details h4 {
    color: #00ff87;
    text-shadow: 0 0 10px rgba(0, 255, 135, 0.2);
}

.education-details .status {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: inline-block;
    padding: 0.3rem 1rem;
    background: rgba(96, 239, 255, 0.1);
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.education-card:hover .education-details .status {
    background: linear-gradient(45deg, rgba(96, 239, 255, 0.2), rgba(0, 255, 135, 0.2));
    color: #3498db;
    transform: translateX(5px);
    box-shadow: 0 2px 10px rgba(96, 239, 255, 0.2);
}

.education-details .description {
    color: var(--text-color);
    line-height: 1.6;
    transition: all 0.3s ease;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.certification-item {
    background: rgba(255, 255, 255, 0.9);
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.certification-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(96, 239, 255, 0.1), rgba(0, 255, 135, 0.1));
    opacity: 0;
    transition: all 0.4s ease;
}

.certification-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.certification-item:hover::before {
    opacity: 1;
}

.certification-item i {
    font-size: 1.8rem;
    background: linear-gradient(45deg, var(--secondary-color), #60efff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.4s ease;
}

.certification-item:hover i {
    transform: scale(1.2) rotate(360deg);
}

.certification-item span {
    color: var(--text-color);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.certification-item:hover span {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.achievement-item {
    background: rgba(255, 255, 255, 0.9);
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.achievement-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(96, 239, 255, 0.1), rgba(0, 255, 135, 0.1));
    opacity: 0;
    transition: all 0.4s ease;
}

.achievement-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.achievement-item:hover::before {
    opacity: 1;
}

.achievement-item i {
    font-size: 1.4rem;
    color: #00ff87;
    transition: all 0.4s ease;
}

.achievement-item:hover i {
    transform: scale(1.2) rotate(360deg);
    color: var(--secondary-color);
}

.achievement-item span {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.5;
    transition: all 0.3s ease;
}

.achievement-item:hover span {
    color: var(--secondary-color);
    transform: translateX(5px);
}

/* Animation for section entrance */
.education {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.education-section,
.certifications-section,
.achievements-section {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.education-section { animation-delay: 0.2s; }
.certifications-section { animation-delay: 0.4s; }
.achievements-section { animation-delay: 0.6s; }

/* Staggered animation for cards */
.education-card,
.certification-item,
.achievement-item {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
}

.education-card:nth-child(1) { animation-delay: 0.3s; }
.education-card:nth-child(2) { animation-delay: 0.4s; }

.certification-item:nth-child(1) { animation-delay: 0.5s; }
.certification-item:nth-child(2) { animation-delay: 0.6s; }
.certification-item:nth-child(3) { animation-delay: 0.7s; }
.certification-item:nth-child(4) { animation-delay: 0.8s; }

.achievement-item:nth-child(1) { animation-delay: 0.5s; }
.achievement-item:nth-child(2) { animation-delay: 0.6s; }
.achievement-item:nth-child(3) { animation-delay: 0.7s; }
.achievement-item:nth-child(4) { animation-delay: 0.8s; }
.achievement-item:nth-child(5) { animation-delay: 0.9s; }
.achievement-item:nth-child(6) { animation-delay: 1s; }
.achievement-item:nth-child(7) { animation-delay: 1.1s; }

/* Keep existing responsive styles */

@media (max-width: 992px) {
    .education h2 {
        font-size: 2.2rem;
    }

    .education-section h3,
    .certifications-section h3,
    .achievements-section h3 {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .education {
        padding: 0 0 60px;
    }

    .education h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .education-content {
        gap: 2rem;
    }

    .education-card {
        padding: 1.5rem;
    }

    .education-icon {
        width: 50px;
        height: 50px;
    }

    .education-icon i {
        font-size: 1.5rem;
    }

    .education-details h4 {
        font-size: 1.2rem;
    }

    .certification-item,
    .achievement-item {
        padding: 1.25rem;
    }

    .certification-item i {
        font-size: 1.3rem;
    }

    .certification-item span,
    .achievement-item span {
        font-size: 0.95rem;
    }
}

/* Success and Error Messages */
.success-message {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #27ae60;
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10000;
    animation: slideInRight 0.5s ease;
}

.success-message.error {
    background: #e74c3c;
}

.success-message i {
    font-size: 20px;
}

/* Form Error Messages */
.error-message {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 5px;
    padding: 5px 10px;
    background: rgba(231, 76, 60, 0.1);
    border-radius: 5px;
    border-left: 3px solid #e74c3c;
    animation: fadeIn 0.3s ease;
}

.form-group.is-invalid input,
.form-group.is-invalid textarea {
    border-color: #e74c3c;
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.2);
}

.form-group.is-valid input,
.form-group.is-valid textarea {
    border-color: #27ae60;
    box-shadow: 0 0 0 2px rgba(39, 174, 96, 0.2);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 576px) {
    .education h2 {
        font-size: 1.8rem;
    }

    .education-section h3,
    .certifications-section h3,
    .achievements-section h3 {
        font-size: 1.4rem;
    }

    .education-card {
        flex-direction: column;
        text-align: left;
        padding: 1.25rem;
    }

    .education-icon {
        margin: 0 auto;
    }

    .certification-item,
    .achievement-item {
        padding: 1rem;
    }

    .certification-item i {
        font-size: 1.2rem;
    }

    .certification-item span,
    .achievement-item span {
        font-size: 0.95rem;
    }
}

@media (max-width: 400px) {
    .education h2 {
        font-size: 1.6rem;
    }

    .education-section h3,
    .certifications-section h3,
    .achievements-section h3 {
        font-size: 1.3rem;
    }

    .education-details h4 {
        font-size: 1.1rem;
    }

    .education-details .status,
    .education-details .description {
        font-size: 0.9rem;
    }
}

/* Styling for certificate thumbnail */
.certification-item a {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-color); /* Inherit text color */
    text-decoration: none; /* Remove default underline */
    width: 100%; /* Make the link fill the container */
    justify-content: space-between; /* Space between text/icon and image */
}

.certification-item a:hover span {
    color: inherit; /* Prevent color change on text hover within the link */
}

.certificate-thumbnail {
    width: 50px; /* Adjust size as needed */
    height: auto;
    border-radius: 5px;
    transition: all 0.3s ease;
    flex-shrink: 0; /* Prevent thumbnail from shrinking */
}

.certification-item a:hover .certificate-thumbnail {
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 576px) {
    .certification-item a {
        flex-direction: column;
        text-align: left;
        justify-content: center;
    }

    .certificate-thumbnail {
        margin-top: 10px;
    }
}

/* Styling for done icons */
.done-icon {
    color: #3498db; /* Blue color */
    font-size: 1.2rem;
    margin-left: 10px; /* Space from the text */
    transition: color 0.3s ease; /* Add transition for smooth color change */
}

.done-icon:hover {
    color: #00ff87; /* Green color on hover */
}

/* Ensure icons align nicely with text */
.education-section h3,
.certifications-section h3,
.achievements-section h3 {
    display: flex;
    align-items: center;
}

/* Responsive adjustments for icon size */
@media (max-width: 768px) {
    .done-icon {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .done-icon {
        font-size: 0.9rem;
    }
}

/* Enhanced Responsive Styles */
@media (max-width: 1200px) {
    .container {
        max-width: 95%;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .services-grid,
    .portfolio-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .about-content,
    .services-grid,
    .portfolio-grid,
    .features-grid,
    .process-steps {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .education-content {
        flex-direction: column;
    }
    
    .education-cards,
    .certifications-grid,
    .achievements-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.95);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.3s;
        backdrop-filter: blur(10px);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links a {
        margin: 1rem 0;
        color: var(--text-color);
        font-size: 1.2rem;
    }
    
    .menu-btn {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .about-content {
        flex-direction: column;
        text-align: left;
    }
    
    .skills {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .testimonial-group {
        flex-direction: column;
    }
    
    .testimonials-container {
        padding: 0 40px;
    }
    
    .testimonial-nav {
        width: 40px;
        height: 40px;
    }
    
    .features-grid,
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .contact-form,
    .contact-info {
        width: 100%;
    }
    
    .education-section h3,
    .certifications-section h3,
    .achievements-section h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .skills {
        flex-direction: column;
        align-items: center;
    }
    
    .skill {
        width: 100%;
        margin: 10px 0;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .service-card i {
        font-size: 2rem;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
    }
    
    .portfolio-item {
        height: 250px;
    }
    
    .portfolio-overlay {
        padding: 15px;
    }
    
    .portfolio-overlay h3 {
        font-size: 1.2rem;
    }
    
    .testimonial {
        padding: 20px;
    }
    
    .client-image {
        width: 60px;
        height: 60px;
    }
    
    .client-details h4 {
        font-size: 1rem;
    }
    
    .client-details p {
        font-size: 0.8rem;
    }
    
    .feature-card {
        padding: 20px;
    }
    
    .feature-card i {
        font-size: 2rem;
    }
    
    .feature-card h3 {
        font-size: 1.2rem;
    }
    
    .step {
        padding: 20px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .step h3 {
        font-size: 1.2rem;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .contact-form input,
    .contact-form textarea {
        padding: 10px;
        font-size: 0.9rem;
    }
    
    .contact-item {
        padding: 10px;
    }
    
    .contact-item i {
        font-size: 1.2rem;
    }
    
    .contact-item a {
        font-size: 0.9rem;
    }
}

@media (max-width: 400px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content h2 {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .testimonial p {
        font-size: 0.9rem;
    }
    
    .feature-card,
    .service-card,
    .portfolio-item,
    .testimonial,
    .step {
        margin: 10px 0;
    }
}

@media (max-width: 320px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .cta-button {
        padding: 0.7rem 1.2rem;
        font-size: 0.8rem;
    }
}

@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 0 20px 40px;
    }
    
    .nav-links {
        top: 60px;
        height: calc(100vh - 60px);
    }
    
    .testimonial {
        padding: 15px;
    }
    
    .contact-form textarea {
        height: 100px;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .menu-btn,
    .cta-button,
    .testimonial-nav,
    .contact-form button {
        display: none;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    a {
        text-decoration: none;
        color: #000;
    }
}

/* Animation Classes */
.animate-fade-in {
    animation: fade-in 1s ease-out;
}

.animate-slide-up {
    animation: slide-up 1s ease-out;
}

/* Section Animations */
.hero, .about, .services, .portfolio, .testimonials, .contact {
    opacity: 0;
    animation: fade-in 1s ease-out forwards;
}

.hero { animation-delay: 0.1s; }
.about { animation-delay: 0.3s; }
.services { animation-delay: 0.5s; }
.portfolio { animation-delay: 0.7s; }
.testimonials { animation-delay: 0.9s; }
.contact { animation-delay: 1.1s; }

/* Why Choose Me Section */
.why-choose {
    padding: 100px 0;
    background: linear-gradient(135deg, #e3f0ff 60%, #f8fbff 100%);
    position: relative;
    overflow: hidden;
    opacity: 1;
    transform: none;
    transition: none;
}

.why-choose::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1461749280684-dccba630e2f6?auto=format&fit=crop&w=1200&q=80') center/cover;
    opacity: 0.07;
    z-index: 0;
    pointer-events: none;
    animation: zoomInOut 20s infinite alternate;
}

.why-choose h2 {
    text-align: left;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 2.5rem;
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.07);
    animation: slideInDown 1s ease-out;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.feature-card {
    background: #fff;
    box-shadow: 0 8px 32px 0 rgba(52, 152, 219, 0.10);
    border: 1.5px solid #60aaff;
    border-radius: 18px;
    padding: 2.5rem;
    text-align: left;
    color: #23395d;
    opacity: 1;
    transform: none;
}

.feature-card:hover {
    box-shadow: 0 15px 30px rgba(44,62,80,0.12);
    background: rgba(255,255,255,0.95);
}

.feature-card i {
    font-size: 2.5rem;
    background: linear-gradient(45deg, #60efff, #00ff87);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #60efff;
    margin-bottom: 1.5rem;
    transition: none;
}

.feature-card:hover i {
    color: var(--accent-color);
}

.feature-card h3 {
    color: #23395d;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: none;
}

.feature-card:hover h3 {
    color: var(--secondary-color);
}

.feature-card p {
    color: #4a5a6a;
    line-height: 1.7;
    font-size: 1.08rem;
    transition: none;
}

.feature-card:hover p {
    color: var(--dark-gray);
}

.feature-card > * {
    position: relative;
    z-index: 2;
}

.feature-card::after {
    content: '';
    position: absolute;
    left: 50%; top: 50%;
    width: 0; height: 0;
    background: radial-gradient(circle, #60efff33 0%, transparent 80%);
    transform: translate(-50%, -50%);
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    transition: width 0.5s, height 0.5s, opacity 0.5s;
}

.feature-card:active::after {
    width: 180px; height: 180px;
    opacity: 0.5;
}

/* My Work Process Section */
.process {
    padding: 100px 0;
    background: linear-gradient(135deg, #e3f0ff 60%, #f8fbff 100%);
    position: relative;
    overflow: hidden;
    opacity: 1;
    transform: none;
    transition: none;
}

.process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1465101046530-73398c7f28ca?auto=format&fit=crop&w=1200&q=80') center/cover;
    opacity: 0.07;
    z-index: 0;
    pointer-events: none;
    animation: zoomInOut 20s infinite alternate;
}

.process h2 {
    text-align: left;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 2.5rem;
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.07);
    animation: slideInDown 1s ease-out;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--secondary-color);
    z-index: 1;
    opacity: 0.12;
}

.step {
    background: #fff;
    box-shadow: 0 8px 32px 0 rgba(52, 152, 219, 0.10);
    border: 1.5px solid #60aaff;
    border-radius: 18px;
    padding: 2rem;
    text-align: left;
    color: #23395d;
    opacity: 1;
    transform: none;
}

.step:hover {
    box-shadow: 0 15px 30px rgba(44,62,80,0.12);
    background: rgba(255,255,255,0.95);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #60efff, #00ff87);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
    transition: none;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.10);
}

.step h3 {
    color: #23395d;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: none;
}

.step p {
    color: #4a5a6a;
    line-height: 1.7;
    font-size: 1.05rem;
    transition: none;
}

.step > * {
    position: relative;
    z-index: 2;
}

.step::after {
    content: '';
    position: absolute;
    left: 50%; top: 50%;
    width: 0; height: 0;
    background: radial-gradient(circle, #60efff33 0%, transparent 80%);
    transform: translate(-50%, -50%);
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    transition: width 0.5s, height 0.5s, opacity 0.5s;
}

.step:active::after {
    width: 180px; height: 180px;
    opacity: 0.7;
}

.step:focus::after {
    width: 0; height: 0; opacity: 0;
}

.navbar.scrolled .nav-links a {
    color: #fff !important;
}

.navbar.scrolled .nav-links a:hover {
    color: var(--secondary-color) !important;
}

/* --- IMPROVED Why Choose Me & Process Section --- */

/* Animated Gradient Blobs */
.why-choose, .process {
    position: relative;
    overflow: hidden;
    opacity: 1;
    transform: none;
    transition: none;
}
.why-choose .blobs, .process .blobs {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
}
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.10;
    animation: blobMove 24s infinite alternate;
}
.blob1 { width: 320px; height: 320px; background: linear-gradient(135deg, #60efff, #00ff87); top: 10%; left: 5%; animation-delay: 0s; }
.blob2 { width: 220px; height: 220px; background: linear-gradient(135deg, #e74c3c, #60efff); top: 60%; left: 70%; animation-delay: 4s; }
.blob3 { width: 180px; height: 180px; background: linear-gradient(135deg, #3498db, #00ff87); top: 70%; left: 20%; animation-delay: 8s; }
@keyframes blobMove {
    0% { transform: scale(1) translate(0,0); }
    50% { transform: scale(1.08) translate(20px, -10px); }
    100% { transform: scale(1) translate(0,0); }
}

/* Animated Gradient Text for Headings */
.why-choose h2, .process h2 {
    background: linear-gradient(90deg, #60efff, #00ff87, #3498db, #e74c3c);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientFlow 6s ease-in-out infinite;
    font-weight: 700;
    letter-spacing: 1px;
}
@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Glassmorphism & Card/Step Animation */
.feature-card, .step {
    background: rgba(255,255,255,0.7);
    box-shadow: 0 8px 32px 0 rgba(44,62,80,0.10);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.13);
    opacity: 1;
    transform: none;
}
/* Staggered Animation */
.features-grid .feature-card:nth-child(1), .process-steps .step:nth-child(1) { animation-delay: 0.2s; }
.features-grid .feature-card:nth-child(2), .process-steps .step:nth-child(2) { animation-delay: 0.4s; }
.features-grid .feature-card:nth-child(3), .process-steps .step:nth-child(3) { animation-delay: 0.6s; }
.features-grid .feature-card:nth-child(4), .process-steps .step:nth-child(4) { animation-delay: 0.8s; }

/* Card/Step Hover Effect */
.feature-card:hover, .step:hover {
    box-shadow: 0 16px 32px 0 rgba(44,62,80,0.13);
    transform: translateY(-6px) scale(1.02);
    animation: none;
    border: 1.5px solid #60efff;
    background: rgba(255,255,255,0.90);
}

/* Ripple only on click */
.feature-card:active::after, .step:active::after {
    width: 180px; height: 180px;
    opacity: 0.7;
}
.feature-card:focus::after, .step:focus::after {
    width: 0; height: 0; opacity: 0;
}

/* Responsive for blobs */
@media (max-width: 900px) {
    .blob1, .blob2, .blob3 { width: 160px; height: 160px; }
}
@media (max-width: 600px) {
    .blob1, .blob2, .blob3 { display: none; }
}

/* Section fade-in/slide-up on scroll */
.why-choose, .process {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1.1s cubic-bezier(0.23, 1, 0.32, 1), transform 1.1s cubic-bezier(0.23, 1, 0.32, 1);
}
.why-choose.in-view, .process.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Parallax blobs (JS will update transform) */
.blob {
    will-change: transform;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Education & Achievements Section */
.education {
    padding: 100px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    overflow: hidden;
}

/* Animated background blobs */
.education::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') center/cover;
    opacity: 0.05;
    z-index: 0;
    animation: zoomInOut 20s infinite alternate;
}

.education .blobs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.education .blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
    animation: blobMove 24s infinite alternate;
}

.education .blob1 {
    width: 320px;
    height: 320px;
    background: linear-gradient(135deg, #60efff, #00ff87);
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.education .blob2 {
    width: 220px;
    height: 220px;
    background: linear-gradient(135deg, #e74c3c, #60efff);
    top: 60%;
    left: 70%;
    animation-delay: 4s;
}

.education .blob3 {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, #3498db, #00ff87);
    top: 70%;
    left: 20%;
    animation-delay: 8s;
}

.education h2 {
    text-align: left;
    background: linear-gradient(90deg, #60efff, #00ff87, #3498db, #e74c3c);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientFlow 6s ease-in-out infinite;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    position: relative;
    z-index: 2;
    font-weight: 700;
    letter-spacing: 1px;
}

.education-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.education-section h3,
.certifications-section h3,
.achievements-section h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.education-section h3::after,
.certifications-section h3::after,
.achievements-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), #60efff);
    border-radius: 3px;
}

.education-section h3 i,
.certifications-section h3 i,
.achievements-section h3 i {
    background: linear-gradient(45deg, var(--secondary-color), #60efff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2rem;
}

.education-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.education-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 1.5rem;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.education-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(96, 239, 255, 0.1), rgba(0, 255, 135, 0.1));
    opacity: 0;
    transition: all 0.4s ease;
}

.education-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(96, 239, 255, 0.25);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(240, 255, 255, 0.95));
    border: 1px solid rgba(96, 239, 255, 0.3);
}

.education-card:hover::before {
    opacity: 1;
    background: linear-gradient(45deg, 
        rgba(96, 239, 255, 0.2), 
        rgba(0, 255, 135, 0.2),
        rgba(52, 152, 219, 0.2)
    );
}

.education-card:hover .education-icon {
    transform: scale(1.1) rotate(360deg);
    box-shadow: 0 8px 25px rgba(96, 239, 255, 0.5);
    background: linear-gradient(45deg, #00ff87, #60efff, #3498db);
}

.education-card:hover .education-details h4 {
    color: #00ff87;
    text-shadow: 0 0 10px rgba(0, 255, 135, 0.2);
}

.education-card:hover .education-details .status {
    background: linear-gradient(45deg, rgba(96, 239, 255, 0.2), rgba(0, 255, 135, 0.2));
    color: #3498db;
    transform: translateX(5px);
    box-shadow: 0 2px 10px rgba(96, 239, 255, 0.2);
}

.education-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(45deg, var(--secondary-color), #60efff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(96, 239, 255, 0.3);
}

.education-card:hover .education-icon {
    transform: scale(1.1) rotate(360deg);
    box-shadow: 0 8px 25px rgba(96, 239, 255, 0.5);
    background: linear-gradient(45deg, #00ff87, #60efff, #3498db);
}

.education-icon i {
    font-size: 2rem;
    color: white;
    transition: all 0.4s ease;
}

.education-details h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.education-card:hover .education-details h4 {
    color: #00ff87;
    text-shadow: 0 0 10px rgba(0, 255, 135, 0.2);
}

.education-details .status {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: inline-block;
    padding: 0.3rem 1rem;
    background: rgba(96, 239, 255, 0.1);
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.education-card:hover .education-details .status {
    background: linear-gradient(45deg, rgba(96, 239, 255, 0.2), rgba(0, 255, 135, 0.2));
    color: #3498db;
    transform: translateX(5px);
    box-shadow: 0 2px 10px rgba(96, 239, 255, 0.2);
}

.education-details .description {
    color: var(--text-color);
    line-height: 1.6;
    transition: all 0.3s ease;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.certification-item {
    background: rgba(255, 255, 255, 0.9);
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.certification-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(96, 239, 255, 0.1), rgba(0, 255, 135, 0.1));
    opacity: 0;
    transition: all 0.4s ease;
}

.certification-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.certification-item:hover::before {
    opacity: 1;
}

.certification-item i {
    font-size: 1.8rem;
    background: linear-gradient(45deg, var(--secondary-color), #60efff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.4s ease;
}

.certification-item:hover i {
    transform: scale(1.2) rotate(360deg);
}

.certification-item span {
    color: var(--text-color);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.certification-item:hover span {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.achievement-item {
    background: rgba(255, 255, 255, 0.9);
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.achievement-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(96, 239, 255, 0.1), rgba(0, 255, 135, 0.1));
    opacity: 0;
    transition: all 0.4s ease;
}

.achievement-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.achievement-item:hover::before {
    opacity: 1;
}

.achievement-item i {
    font-size: 1.4rem;
    color: #00ff87;
    transition: all 0.4s ease;
}

.achievement-item:hover i {
    transform: scale(1.2) rotate(360deg);
    color: var(--secondary-color);
}

.achievement-item span {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.5;
    transition: all 0.3s ease;
}

.achievement-item:hover span {
    color: var(--secondary-color);
    transform: translateX(5px);
}

/* Animation for section entrance */
.education {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.education-section,
.certifications-section,
.achievements-section {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.education-section { animation-delay: 0.2s; }
.certifications-section { animation-delay: 0.4s; }
.achievements-section { animation-delay: 0.6s; }

/* Staggered animation for cards */
.education-card,
.certification-item,
.achievement-item {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
}

.education-card:nth-child(1) { animation-delay: 0.3s; }
.education-card:nth-child(2) { animation-delay: 0.4s; }

.certification-item:nth-child(1) { animation-delay: 0.5s; }
.certification-item:nth-child(2) { animation-delay: 0.6s; }
.certification-item:nth-child(3) { animation-delay: 0.7s; }
.certification-item:nth-child(4) { animation-delay: 0.8s; }

.achievement-item:nth-child(1) { animation-delay: 0.5s; }
.achievement-item:nth-child(2) { animation-delay: 0.6s; }
.achievement-item:nth-child(3) { animation-delay: 0.7s; }
.achievement-item:nth-child(4) { animation-delay: 0.8s; }
.achievement-item:nth-child(5) { animation-delay: 0.9s; }
.achievement-item:nth-child(6) { animation-delay: 1s; }
.achievement-item:nth-child(7) { animation-delay: 1.1s; }

/* Keep existing responsive styles */

@media (max-width: 992px) {
    .education h2 {
        font-size: 2.2rem;
    }

    .education-section h3,
    .certifications-section h3,
    .achievements-section h3 {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .education {
        padding: 0 0 60px;
    }

    .education h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .education-content {
        gap: 2rem;
    }

    .education-card {
        padding: 1.5rem;
    }

    .education-icon {
        width: 50px;
        height: 50px;
    }

    .education-icon i {
        font-size: 1.5rem;
    }

    .education-details h4 {
        font-size: 1.2rem;
    }

    .certification-item,
    .achievement-item {
        padding: 1.25rem;
    }

    .certification-item i {
        font-size: 1.3rem;
    }

    .certification-item span,
    .achievement-item span {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .education h2 {
        font-size: 1.8rem;
    }

    .education-section h3,
    .certifications-section h3,
    .achievements-section h3 {
        font-size: 1.4rem;
    }

    .education-card {
        flex-direction: column;
        text-align: left;
        padding: 1.25rem;
    }

    .education-icon {
        margin: 0 auto;
    }

    .certification-item,
    .achievement-item {
        padding: 1rem;
    }

    .certification-item i {
        font-size: 1.2rem;
    }

    .certification-item span,
    .achievement-item span {
        font-size: 0.95rem;
    }
}

@media (max-width: 400px) {
    .education h2 {
        font-size: 1.6rem;
    }

    .education-section h3,
    .certifications-section h3,
    .achievements-section h3 {
        font-size: 1.3rem;
    }

    .education-details h4 {
        font-size: 1.1rem;
    }

    .education-details .status,
    .education-details .description {
        font-size: 0.9rem;
    }
}

/* Styling for certificate thumbnail */
.certification-item a {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-color); /* Inherit text color */
    text-decoration: none; /* Remove default underline */
    width: 100%; /* Make the link fill the container */
    justify-content: space-between; /* Space between text/icon and image */
}

.certification-item a:hover span {
    color: inherit; /* Prevent color change on text hover within the link */
}

.certificate-thumbnail {
    width: 50px; /* Adjust size as needed */
    height: auto;
    border-radius: 5px;
    transition: all 0.3s ease;
    flex-shrink: 0; /* Prevent thumbnail from shrinking */
}

.certification-item a:hover .certificate-thumbnail {
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 576px) {
    .certification-item a {
        flex-direction: column;
        text-align: left;
        justify-content: center;
    }

    .certificate-thumbnail {
        margin-top: 10px;
    }
}

/* Styling for done icons */
.done-icon {
    color: #3498db; /* Blue color */
    font-size: 1.2rem;
    margin-left: 10px; /* Space from the text */
    transition: color 0.3s ease; /* Add transition for smooth color change */
}

.done-icon:hover {
    color: #00ff87; /* Green color on hover */
}

/* Ensure icons align nicely with text */
.education-section h3,
.certifications-section h3,
.achievements-section h3 {
    display: flex;
    align-items: center;
}

/* Responsive adjustments for icon size */
@media (max-width: 768px) {
    .done-icon {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .done-icon {
        font-size: 0.9rem;
    }
}

/* Character Counter */
.char-counter {
    position: absolute;
    bottom: 5px;
    right: 10px;
    font-size: 0.75rem;
    color: #7f8c8d;
    background: rgba(255, 255, 255, 0.9);
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 500;
}

.char-counter span {
    font-weight: 600;
}

/* Enhanced Responsive Styles */
@media (max-width: 1200px) {
    .container {
        max-width: 95%;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .services-grid,
    .portfolio-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .about-content,
    .services-grid,
    .portfolio-grid,
    .features-grid,
    .process-steps {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .education-content {
        flex-direction: column;
    }
    
    .education-cards,
    .certifications-grid,
    .achievements-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.95);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.3s;
        backdrop-filter: blur(10px);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links a {
        margin: 1rem 0;
        color: var(--text-color);
        font-size: 1.2rem;
    }
    
    .menu-btn {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .about-content {
        flex-direction: column;
        text-align: left;
    }
    
    .skills {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .testimonial-group {
        flex-direction: column;
    }
    
    .testimonials-container {
        padding: 0 40px;
    }
    
    .testimonial-nav {
        width: 40px;
        height: 40px;
    }
    
    .features-grid,
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .contact-form,
    .contact-info {
        width: 100%;
    }
    
    .education-section h3,
    .certifications-section h3,
    .achievements-section h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .skills {
        flex-direction: column;
        align-items: center;
    }
    
    .skill {
        width: 100%;
        margin: 10px 0;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .service-card i {
        font-size: 2rem;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
    }
    
    .portfolio-item {
        height: 250px;
    }
    
    .portfolio-overlay {
        padding: 15px;
    }
    
    .portfolio-overlay h3 {
        font-size: 1.2rem;
    }
    
    .testimonial {
        padding: 20px;
    }
    
    .client-image {
        width: 60px;
        height: 60px;
    }
    
    .client-details h4 {
        font-size: 1rem;
    }
    
    .client-details p {
        font-size: 0.8rem;
    }
    
    .feature-card {
        padding: 20px;
    }
    
    .feature-card i {
        font-size: 2rem;
    }
    
    .feature-card h3 {
        font-size: 1.2rem;
    }
    
    .step {
        padding: 20px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .step h3 {
        font-size: 1.2rem;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .contact-form input,
    .contact-form textarea {
        padding: 10px;
        font-size: 0.9rem;
    }
    
    .contact-item {
        padding: 10px;
    }
    
    .contact-item i {
        font-size: 1.2rem;
    }
    
    .contact-item a {
        font-size: 0.9rem;
    }
}

@media (max-width: 400px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content h2 {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .testimonial p {
        font-size: 0.9rem;
    }
    
    .feature-card,
    .service-card,
    .portfolio-item,
    .testimonial,
    .step {
        margin: 10px 0;
    }
}

@media (max-width: 320px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .cta-button {
        padding: 0.7rem 1.2rem;
        font-size: 0.8rem;
    }
}

@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 0 20px 40px;
    }
    
    .nav-links {
        top: 60px;
        height: calc(100vh - 60px);
    }
    
    .testimonial {
        padding: 15px;
    }
    
    .contact-form textarea {
        height: 100px;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .menu-btn,
    .cta-button,
    .testimonial-nav,
    .contact-form button {
        display: none;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    a {
        text-decoration: none;
        color: #000;
    }
}

/* Animation Classes */
.animate-fade-in {
    animation: fade-in 1s ease-out;
}

.animate-slide-up {
    animation: slide-up 1s ease-out;
}

/* Section Animations */
.hero, .about, .services, .portfolio, .testimonials, .contact {
    opacity: 0;
    animation: fade-in 1s ease-out forwards;
}

.hero { animation-delay: 0.1s; }
.about { animation-delay: 0.3s; }
.services { animation-delay: 0.5s; }
.portfolio { animation-delay: 0.7s; }
.testimonials { animation-delay: 0.9s; }
.contact { animation-delay: 1.1s; }

/* Why Choose Me Section */
.why-choose {
    padding: 100px 0;
    background: linear-gradient(135deg, #e3f0ff 60%, #f8fbff 100%);
    position: relative;
    overflow: hidden;
    opacity: 1;
    transform: none;
    transition: none;
}

.why-choose::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1461749280684-dccba630e2f6?auto=format&fit=crop&w=1200&q=80') center/cover;
    opacity: 0.07;
    z-index: 0;
    pointer-events: none;
    animation: zoomInOut 20s infinite alternate;
}

.why-choose h2 {
    text-align: left;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 2.5rem;
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.07);
    animation: slideInDown 1s ease-out;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.feature-card {
    background: #fff;
    box-shadow: 0 8px 32px 0 rgba(52, 152, 219, 0.10);
    border: 1.5px solid #60aaff;
    border-radius: 18px;
    padding: 2.5rem;
    text-align: left;
    color: #23395d;
    opacity: 1;
    transform: none;
}

.feature-card:hover {
    box-shadow: 0 15px 30px rgba(44,62,80,0.12);
    background: rgba(255,255,255,0.95);
}

.feature-card i {
    font-size: 2.5rem;
    background: linear-gradient(45deg, #60efff, #00ff87);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #60efff;
    margin-bottom: 1.5rem;
    transition: none;
}

.feature-card:hover i {
    color: var(--accent-color);
}

.feature-card h3 {
    color: #23395d;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: none;
}

.feature-card:hover h3 {
    color: var(--secondary-color);
}

.feature-card p {
    color: #4a5a6a;
    line-height: 1.7;
    font-size: 1.08rem;
    transition: none;
}

.feature-card:hover p {
    color: var(--dark-gray);
}

.feature-card > * {
    position: relative;
    z-index: 2;
}

.feature-card::after {
    content: '';
    position: absolute;
    left: 50%; top: 50%;
    width: 0; height: 0;
    background: radial-gradient(circle, #60efff33 0%, transparent 80%);
    transform: translate(-50%, -50%);
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    transition: width 0.5s, height 0.5s, opacity 0.5s;
}

.feature-card:active::after {
    width: 180px; height: 180px;
    opacity: 0.5;
}

/* My Work Process Section */
.process {
    padding: 100px 0;
    background: linear-gradient(135deg, #e3f0ff 60%, #f8fbff 100%);
    position: relative;
    overflow: hidden;
    opacity: 1;
    transform: none;
    transition: none;
}

.process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1465101046530-73398c7f28ca?auto=format&fit=crop&w=1200&q=80') center/cover;
    opacity: 0.07;
    z-index: 0;
    pointer-events: none;
    animation: zoomInOut 20s infinite alternate;
}

.process h2 {
    text-align: left;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 2.5rem;
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.07);
    animation: slideInDown 1s ease-out;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--secondary-color);
    z-index: 1;
    opacity: 0.12;
}

.step {
    background: #fff;
    box-shadow: 0 8px 32px 0 rgba(52, 152, 219, 0.10);
    border: 1.5px solid #60aaff;
    border-radius: 18px;
    padding: 2rem;
    text-align: left;
    color: #23395d;
    opacity: 1;
    transform: none;
}

.step:hover {
    box-shadow: 0 15px 30px rgba(44,62,80,0.12);
    background: rgba(255,255,255,0.95);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #60efff, #00ff87);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
    transition: none;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.10);
}

.step h3 {
    color: #23395d;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: none;
}

.step p {
    color: #4a5a6a;
    line-height: 1.7;
    font-size: 1.05rem;
    transition: none;
}

.step > * {
    position: relative;
    z-index: 2;
}

.step::after {
    content: '';
    position: absolute;
    left: 50%; top: 50%;
    width: 0; height: 0;
    background: radial-gradient(circle, #60efff33 0%, transparent 80%);
    transform: translate(-50%, -50%);
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    transition: width 0.5s, height 0.5s, opacity 0.5s;
}

.step:active::after {
    width: 180px; height: 180px;
    opacity: 0.7;
}

.step:focus::after {
    width: 0; height: 0; opacity: 0;
}

.navbar.scrolled .nav-links a {
    color: #fff !important;
}

.navbar.scrolled .nav-links a:hover {
    color: var(--secondary-color) !important;
}

/* --- IMPROVED Why Choose Me & Process Section --- */

/* Animated Gradient Blobs */
.why-choose, .process {
    position: relative;
    overflow: hidden;
    opacity: 1;
    transform: none;
    transition: none;
}
.why-choose .blobs, .process .blobs {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
}
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.10;
    animation: blobMove 24s infinite alternate;
}
.blob1 { width: 320px; height: 320px; background: linear-gradient(135deg, #60efff, #00ff87); top: 10%; left: 5%; animation-delay: 0s; }
.blob2 { width: 220px; height: 220px; background: linear-gradient(135deg, #e74c3c, #60efff); top: 60%; left: 70%; animation-delay: 4s; }
.blob3 { width: 180px; height: 180px; background: linear-gradient(135deg, #3498db, #00ff87); top: 70%; left: 20%; animation-delay: 8s; }
@keyframes blobMove {
    0% { transform: scale(1) translate(0,0); }
    50% { transform: scale(1.08) translate(20px, -10px); }
    100% { transform: scale(1) translate(0,0); }
}

/* Animated Gradient Text for Headings */
.why-choose h2, .process h2 {
    background: linear-gradient(90deg, #60efff, #00ff87, #3498db, #e74c3c);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientFlow 6s ease-in-out infinite;
    font-weight: 700;
    letter-spacing: 1px;
}
@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Glassmorphism & Card/Step Animation */
.feature-card, .step {
    background: rgba(255,255,255,0.7);
    box-shadow: 0 8px 32px 0 rgba(44,62,80,0.10);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.13);
    opacity: 1;
    transform: none;
}
/* Staggered Animation */
.features-grid .feature-card:nth-child(1), .process-steps .step:nth-child(1) { animation-delay: 0.2s; }
.features-grid .feature-card:nth-child(2), .process-steps .step:nth-child(2) { animation-delay: 0.4s; }
.features-grid .feature-card:nth-child(3), .process-steps .step:nth-child(3) { animation-delay: 0.6s; }
.features-grid .feature-card:nth-child(4), .process-steps .step:nth-child(4) { animation-delay: 0.8s; }

/* Card/Step Hover Effect */
.feature-card:hover, .step:hover {
    box-shadow: 0 16px 32px 0 rgba(44,62,80,0.13);
    transform: translateY(-6px) scale(1.02);
    animation: none;
    border: 1.5px solid #60efff;
    background: rgba(255,255,255,0.90);
}

/* Ripple only on click */
.feature-card:active::after, .step:active::after {
    width: 180px; height: 180px;
    opacity: 0.7;
}
.feature-card:focus::after, .step:focus::after {
    width: 0; height: 0; opacity: 0;
}

/* Responsive for blobs */
@media (max-width: 900px) {
    .blob1, .blob2, .blob3 { width: 160px; height: 160px; }
}
@media (max-width: 600px) {
    .blob1, .blob2, .blob3 { display: none; }
}

/* Section fade-in/slide-up on scroll */
.why-choose, .process {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1.1s cubic-bezier(0.23, 1, 0.32, 1), transform 1.1s cubic-bezier(0.23, 1, 0.32, 1);
}
.why-choose.in-view, .process.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Parallax blobs (JS will update transform) */
.blob {
    will-change: transform;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Education & Achievements Section */
.education {
    padding: 100px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    overflow: hidden;
}

/* Animated background blobs */
.education::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') center/cover;
    opacity: 0.05;
    z-index: 0;
    animation: zoomInOut 20s infinite alternate;
}

.education .blobs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.education .blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
    animation: blobMove 24s infinite alternate;
}

.education .blob1 {
    width: 320px;
    height: 320px;
    background: linear-gradient(135deg, #60efff, #00ff87);
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.education .blob2 {
    width: 220px;
    height: 220px;
    background: linear-gradient(135deg, #e74c3c, #60efff);
    top: 60%;
    left: 70%;
    animation-delay: 4s;
}

.education .blob3 {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, #3498db, #00ff87);
    top: 70%;
    left: 20%;
    animation-delay: 8s;
}

.education h2 {
    text-align: left;
    background: linear-gradient(90deg, #60efff, #00ff87, #3498db, #e74c3c);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientFlow 6s ease-in-out infinite;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    position: relative;
    z-index: 2;
    font-weight: 700;
    letter-spacing: 1px;
}

.education-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.education-section h3,
.certifications-section h3,
.achievements-section h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.education-section h3::after,
.certifications-section h3::after,
.achievements-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), #60efff);
    border-radius: 3px;
}

.education-section h3 i,
.certifications-section h3 i,
.achievements-section h3 i {
    background: linear-gradient(45deg, var(--secondary-color), #60efff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2rem;
}

.education-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.education-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 1.5rem;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.education-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(96, 239, 255, 0.1), rgba(0, 255, 135, 0.1));
    opacity: 0;
    transition: all 0.4s ease;
}

.education-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(96, 239, 255, 0.25);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(240, 255, 255, 0.95));
    border: 1px solid rgba(96, 239, 255, 0.3);
}

.education-card:hover::before {
    opacity: 1;
    background: linear-gradient(45deg, 
        rgba(96, 239, 255, 0.2), 
        rgba(0, 255, 135, 0.2),
        rgba(52, 152, 219, 0.2)
    );
}

.education-card:hover .education-icon {
    transform: scale(1.1) rotate(360deg);
    box-shadow: 0 8px 25px rgba(96, 239, 255, 0.5);
    background: linear-gradient(45deg, #00ff87, #60efff, #3498db);
}

.education-card:hover .education-details h4 {
    color: #00ff87;
    text-shadow: 0 0 10px rgba(0, 255, 135, 0.2);
}

.education-card:hover .education-details .status {
    background: linear-gradient(45deg, rgba(96, 239, 255, 0.2), rgba(0, 255, 135, 0.2));
    color: #3498db;
    transform: translateX(5px);
    box-shadow: 0 2px 10px rgba(96, 239, 255, 0.2);
}

.education-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(45deg, var(--secondary-color), #60efff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(96, 239, 255, 0.3);
}

.education-card:hover .education-icon {
    transform: scale(1.1) rotate(360deg);
    box-shadow: 0 8px 25px rgba(96, 239, 255, 0.5);
    background: linear-gradient(45deg, #00ff87, #60efff, #3498db);
}

.education-icon i {
    font-size: 2rem;
    color: white;
    transition: all 0.4s ease;
}

.education-details h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.education-card:hover .education-details h4 {
    color: #00ff87;
    text-shadow: 0 0 10px rgba(0, 255, 135, 0.2);
}

.education-details .status {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: inline-block;
    padding: 0.3rem 1rem;
    background: rgba(96, 239, 255, 0.1);
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.education-card:hover .education-details .status {
    background: linear-gradient(45deg, rgba(96, 239, 255, 0.2), rgba(0, 255, 135, 0.2));
    color: #3498db;
    transform: translateX(5px);
    box-shadow: 0 2px 10px rgba(96, 239, 255, 0.2);
}

.education-details .description {
    color: var(--text-color);
    line-height: 1.6;
    transition: all 0.3s ease;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.certification-item {
    background: rgba(255, 255, 255, 0.9);
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.certification-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(96, 239, 255, 0.1), rgba(0, 255, 135, 0.1));
    opacity: 0;
    transition: all 0.4s ease;
}

.certification-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.certification-item:hover::before {
    opacity: 1;
}

.certification-item i {
    font-size: 1.8rem;
    background: linear-gradient(45deg, var(--secondary-color), #60efff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.4s ease;
}

.certification-item:hover i {
    transform: scale(1.2) rotate(360deg);
}

.certification-item span {
    color: var(--text-color);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.certification-item:hover span {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.achievement-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.achievement-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.achievement-item i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* ========================================
   MODERN FOOTER STYLES
   ======================================== */

/* EDIT COLORS: Main footer color variables */
:root {
    --footer-bg-primary: #1a1a2e;
    --footer-bg-secondary: #16213e;
    --footer-accent: #0f3460;
    --footer-text-primary: #ffffff;
    --footer-text-secondary: #a0a9c0;
    --footer-link-hover: #64ffda;
    --footer-border: #2a2f45;
    --footer-shadow: rgba(0, 0, 0, 0.3);
}

.modern-footer {
    background: linear-gradient(135deg, var(--footer-bg-primary) 0%, var(--footer-bg-secondary) 100%);
    color: var(--footer-text-primary);
    padding: 4rem 0 0;
    position: relative;
    overflow: hidden;
    margin-top: 5rem;
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--footer-accent), transparent);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ========================================
   FOOTER COLUMNS LAYOUT
   ======================================== */

.modern-footer .footer-container:first-child {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr; /* EDIT: Adjust column ratios */
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

/* EDIT ANIMATION DELAYS: Stagger entrance animations */
.footer-column:nth-child(1) { animation-delay: 0.1s; }
.footer-column:nth-child(2) { animation-delay: 0.2s; }
.footer-column:nth-child(3) { animation-delay: 0.3s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   COLUMN 1: ABOUT US SECTION
   ======================================== */

.footer-about .footer-logo h3 {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--footer-text-primary), var(--footer-link-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    /* EDIT: Change logo text styling */
}

.footer-about .tagline {
    color: var(--footer-text-secondary);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 1.5rem;
    /* EDIT: Customize tagline */
}

.about-description {
    color: var(--footer-text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    /* EDIT: Adjust description text styling */
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--footer-border);
    border-radius: 50%;
    color: var(--footer-text-secondary);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    /* EDIT: Social media link styling */
}

.social-link:hover {
    background: var(--footer-link-hover);
    color: var(--footer-bg-primary);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(100, 255, 218, 0.3);
    border-color: var(--footer-link-hover);
    /* EDIT: Social media hover effects */
}

/* ========================================
   COLUMN 2: NAVIGATION LINKS
   ======================================== */

.footer-nav h4 {
    color: var(--footer-text-primary);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    /* EDIT: Navigation headings */
}

.footer-nav h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--footer-link-hover);
    border-radius: 2px;
}

.footer-nav .services-title {
    margin-top: 2rem;
}

.nav-list, .services-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list li, .services-list li {
    margin-bottom: 0.8rem;
}

.nav-link {
    color: var(--footer-text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-block;
    position: relative;
    padding: 0.2rem 0;
    transition: all 0.3s ease;
    /* EDIT: Navigation link styling */
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--footer-link-hover);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--footer-link-hover);
    transform: translateX(5px);
    /* EDIT: Navigation hover effects */
}

.nav-link:hover::before {
    width: 100%;
}

/* ========================================
   COLUMN 3: CONTACT/RESIZABLE SECTION
   ======================================== */

.footer-contact {
    position: relative;
    min-width: 280px;
    max-width: 500px;
    resize: horizontal;
    overflow: auto;
    border-right: 2px solid var(--footer-border);
    padding-right: 1rem;
    /* EDIT: Resizable column settings */
}

.resize-handle {
    position: absolute;
    top: 0;
    right: -10px;
    width: 20px;
    height: 100%;
    cursor: ew-resize;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--footer-text-secondary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
    /* EDIT: Resize handle styling */
}

.footer-contact:hover .resize-handle {
    opacity: 1;
}

.resize-handle:hover {
    color: var(--footer-link-hover);
}

.footer-contact h4 {
    color: var(--footer-text-primary);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--footer-link-hover);
    border-radius: 2px;
}

.contact-info {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    /* EDIT: Contact item styling */
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
    border-color: var(--footer-link-hover);
}

.contact-item i {
    color: var(--footer-link-hover);
    font-size: 1.1rem;
    margin-top: 0.2rem;
    min-width: 20px;
}

.contact-item span,
.contact-item a {
    color: var(--footer-text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.4;
    /* EDIT: Contact text styling */
}

.contact-item a:hover {
    color: var(--footer-link-hover);
}

/* Newsletter Signup */
.newsletter-signup {
    margin-top: 2rem;
}

.newsletter-signup h5 {
    color: var(--footer-text-primary);
    font-size: 1rem;
    margin-bottom: 1rem;
    /* EDIT: Newsletter heading */
}

.input-group {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    overflow: hidden;
    border: 1px solid var(--footer-border);
    transition: all 0.3s ease;
}

.input-group:focus-within {
    border-color: var(--footer-link-hover);
    box-shadow: 0 0 0 3px rgba(100, 255, 218, 0.1);
}

.input-group input {
    flex: 1;
    padding: 0.8rem 1rem;
    background: transparent;
    border: none;
    outline: none;
    color: var(--footer-text-primary);
    font-size: 0.9rem;
    /* EDIT: Newsletter input styling */
}

.input-group input::placeholder {
    color: var(--footer-text-secondary);
}

.input-group button {
    padding: 0.8rem 1.2rem;
    background: var(--footer-link-hover);
    color: var(--footer-bg-primary);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    /* EDIT: Newsletter button styling */
}

.input-group button:hover {
    background: #4fd1c7;
    transform: scale(1.05);
}

/* ========================================
   FOOTER BOTTOM
   ======================================== */

.footer-bottom {
    border-top: 1px solid var(--footer-border);
    padding: 2rem 0;
    background: rgba(0, 0, 0, 0.2);
}

.footer-bottom .footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright p {
    color: var(--footer-text-secondary);
    font-size: 0.9rem;
    margin: 0;
    /* EDIT: Copyright text styling */
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-link {
    color: var(--footer-text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    /* EDIT: Footer bottom links */
}

.footer-link:hover {
    color: var(--footer-link-hover);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet View */
@media (max-width: 768px) {
    .modern-footer .footer-container:first-child {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-contact {
        grid-column: 1 / -1;
        resize: none;
        max-width: 100%;
        border-right: none;
        padding-right: 0;
        margin-top: 1rem;
        /* EDIT: Tablet layout adjustments */
    }
    
    .resize-handle {
        display: none;
    }
}

/* Mobile View */
@media (max-width: 480px) {
    .modern-footer {
        padding: 3rem 0 0;
        margin-top: 3rem;
    }
    
    .footer-container {
        padding: 0 1rem;
    }
    
    .modern-footer .footer-container:first-child {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        /* EDIT: Mobile single column layout */
    }
    
    .footer-about .footer-logo h3 {
        font-size: 1.5rem;
    }
    
    .about-description {
        font-size: 0.9rem;
    }
    
    .footer-social {
        justify-content: center;
        margin-top: 1.5rem;
    }
    
    .footer-nav {
        text-align: center;
    }
    
    .footer-contact {
        text-align: center;
        margin-top: 0;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .footer-bottom .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
}

/* ========================================
   ACCESSIBILITY & ANIMATIONS
   ======================================== */

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .footer-column {
        animation: none;
        opacity: 1;
        transform: none;
    }
    
    .social-link:hover,
    .nav-link:hover,
    .contact-item:hover {
        transform: none;
    }
}

/* Focus styles for keyboard navigation */
.social-link:focus,
.nav-link:focus,
.footer-link:focus,
.input-group input:focus,
.input-group button:focus {
    outline: 2px solid var(--footer-link-hover);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .modern-footer {
        background: #000000;
        color: #ffffff;
    }
    
    .footer-border {
        --footer-border: #ffffff;
    }
}
