/* --- BASE STYLES & VARIABLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Scheme */
    --primary: #0078FF; /* Bright Blue */
    --primary-dark: #0050C8; /* Deep Blue */
    --accent: #00C8DC; /* Cyan */
    --dark: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-500: #6b7280;
    --gray-300: #d1d5db;
    --gray-100: #f3f4f6;
    --white: #ffffff;
    --gradient: linear-gradient(125deg, var(--accent), var(--primary), var(--primary-dark));
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Bubble Animation Colors */
    --color-bg1: #00C8DC; 
    --color-bg2: #0050C8;
    --color1: 70, 220, 220;    /* Bright Cyan */
    --color2: 0, 120, 255;     /* Medium Blue */
    --color3: 100, 255, 200;   /* Light Green/Cyan */
    --color4: 20, 100, 240;    /* Another Blue */
    --color5: 0, 50, 180;      /* Deep Blue for contrast */
    --color6: 255, 255, 255;   /* White */
    --color-interactive: 0, 120, 255;
    --circle-size: 80%;
    --blending: hard-light;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--gray-700);
    overflow-x: hidden;
    background-color: var(--white);
}

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

/* --- HEADER / NAVBAR --- */
.header {
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    transition: all 0.3s ease;
}

.nav-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.header.scrolled .nav-container {
    background: rgba(255, 255, 255, 0.4);
}

.logo-link {
    text-decoration: none;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 0.25rem;
}

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

.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
}

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

/* --- UNIFIED GRADIENT BUTTON STYLES --- */
.cta-btn, .btn-primary, .btn-secondary, .service-card .cta-btn, .form-container .cta-btn, .see-more-wrapper .cta-btn, #close-blog-btn, .blog-preview-card .cta-btn, .ps-banner-parent-wrapper a, .read-more-btn {
    background-image: var(--gradient);
    border: none;
    color: var(--white) !important;
    font-weight: 600;
    padding: 0.85rem 1.75rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background-size: 200% 100%;
    background-position: 0% 0%;
}

.cta-btn::before, .btn-primary::before, .btn-secondary::before, .service-card .cta-btn::before, .form-container .cta-btn::before, .see-more-wrapper .cta-btn::before, #close-blog-btn::before, .blog-preview-card .cta-btn::before, .ps-banner-parent-wrapper a::before, .read-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 75%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-25deg);
    transition: left 0.8s;
}

.cta-btn:hover, .btn-primary:hover, .btn-secondary:hover, .service-card .cta-btn:hover, .form-container .cta-btn:hover, .see-more-wrapper .cta-btn:hover, #close-blog-btn:hover, .blog-preview-card .cta-btn:hover, .ps-banner-parent-wrapper a:hover, .read-more-btn:hover {
    background-position: 100% 0%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25), 0 0 20px rgba(0, 120, 255, 0.4);
    transform: translateY(-2px);
}

.cta-btn:hover::before, .btn-primary:hover::before, .btn-secondary:hover::before, .service-card .cta-btn::before, .form-container .cta-btn:hover::before, .see-more-wrapper .cta-btn:before, #close-blog-btn::before, .blog-preview-card .cta-btn:hover::before, .ps-banner-parent-wrapper a:hover::before, .read-more-btn:hover::before {
    left: 150%;
}


.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

/* --- HERO SECTION --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 2rem 40px;
}

/* Gooey Bubble Animation Styles */
.gradient-bg {
    width: 100%;
    height: 100%;
    position: absolute;
    overflow: hidden;
    background: linear-gradient(40deg, var(--color-bg1), var(--color-bg2));
    top: 0;
    left: 0;
    z-index: 1;
}

.gradient-bg svg {
    display: none;
}

.gradient-bg .gradients-container {
    filter: url(#goo) blur(40px);
    width: 100%;
    height: 100%;
}

.gradient-bg .g1, .gradient-bg .g2, .gradient-bg .g3, .gradient-bg .g4, .gradient-bg .g5, .gradient-bg .g6, .gradient-bg .interactive {
    position: absolute;
    mix-blend-mode: var(--blending);
    opacity: 1;
}

.gradient-bg .g1 {
    background: radial-gradient(circle at center, rgba(var(--color1), 0.8) 0, rgba(var(--color1), 0) 50%) no-repeat;
    width: var(--circle-size);
    height: var(--circle-size);
    top: calc(50% - var(--circle-size) / 2);
    left: calc(50% - var(--circle-size) / 2);
    transform-origin: center center;
    animation: moveVertical 15s ease infinite;
}

.gradient-bg .g2 {
    background: radial-gradient(circle at center, rgba(var(--color2), 0.8) 0, rgba(var(--color2), 0) 50%) no-repeat;
    width: var(--circle-size);
    height: var(--circle-size);
    top: calc(50% - var(--circle-size) / 2);
    left: calc(50% - var(--circle-size) / 2);
    transform-origin: calc(50% - 400px);
    animation: moveInCircle 10s reverse infinite;
}

.gradient-bg .g3 {
    background: radial-gradient(circle at center, rgba(var(--color3), 0.8) 0, rgba(var(--color3), 0) 50%) no-repeat;
    width: var(--circle-size);
    height: var(--circle-size);
    top: calc(50% - var(--circle-size) / 2 + 200px);
    left: calc(50% - var(--circle-size) / 2 - 500px);
    transform-origin: calc(50% + 400px);
    animation: moveInCircle 20s linear infinite;
}

.gradient-bg .g4 {
    background: radial-gradient(circle at center, rgba(var(--color4), 0.8) 0, rgba(var(--color4), 0) 50%) no-repeat;
    width: var(--circle-size);
    height: var(--circle-size);
    top: calc(50% - var(--circle-size) / 2);
    left: calc(50% - var(--circle-size) / 2);
    transform-origin: calc(50% - 200px);
    animation: moveHorizontal 20s ease infinite;
}

.gradient-bg .g5 {
    background: radial-gradient(circle at center, rgba(var(--color5), 0.8) 0, rgba(var(--color5), 0) 50%) no-repeat;
    width: calc(var(--circle-size) * 2);
    height: calc(var(--circle-size) * 2);
    top: calc(50% - var(--circle-size));
    left: calc(50% - var(--circle-size));
    transform-origin: calc(50% - 800px) calc(50% + 200px);
    animation: moveInCircle 10s ease infinite;
}

.gradient-bg .g6 {
    background: radial-gradient(circle at center, rgba(var(--color6), 0.8) 0, rgba(var(--color6), 0) 50%) no-repeat;
    mix-blend-mode: screen;
    width: var(--circle-size);
    height: var(--circle-size);
    top: calc(50% - var(--circle-size) / 2);
    left: calc(50% - var(--circle-size) / 2);
    transform-origin: calc(50% + 300px);
    animation: moveInCircle 18s linear infinite;
}

.gradient-bg .interactive {
    position: fixed;
    background: radial-gradient(circle at center, rgba(var(--color-interactive), 0.8) 0, rgba(var(--color-interactive), 0) 50%) no-repeat;
    width: 100%;
    height: 100%;
    top: -50%;
    left: -50%;
    opacity: 0.7;
}

@keyframes moveInCircle { 0% { transform: rotate(0deg); } 50% { transform: rotate(180deg); } 100% { transform: rotate(360deg); } }
@keyframes moveVertical { 0% { transform: translateY(-50%); } 50% { transform: translateY(50%); } 100% { transform: translateY(-50%); } }
@keyframes moveHorizontal { 0% { transform: translateX(-50%) translateY(-10%); } 50% { transform: translateX(50%) translateY(10%); } 100% { transform: translateX(-50%) translateY(-10%); } }

.hero-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 750px;
    position: relative;
    z-index: 10;
}

.glass-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2.5rem;
    border-radius: 30px;
    box-shadow: var(--shadow);
    width: 100%;
}

.hero-avatar {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-size: 130%; /* Zoom in on the image */
    background-position: center;
    flex-shrink: 0;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    padding: 6px; /* Space for the white ring */
    background-color: white; /* This creates the white ring */
    background-clip: content-box; /* The background-image will only show inside the padding */
    box-shadow: var(--shadow-lg);
}

.hero-avatar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    z-index: -1;
}

.hero-content {
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.hero-subtitle {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 1.5rem 0;
    color: var(--dark);
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    display: block;
}

.stat-label {
    font-size: 0.85rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- GENERAL SECTION STYLES --- */
section {
    padding: 6rem 0;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

/* --- ABOUT SECTION --- */
.about {
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.highlight {
    text-align: center;
    padding: 1.5rem;
    background: hsla(from var(--primary) h s l / 0.05);
    border: 1px solid hsla(from var(--primary) h s l / 0.1);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.highlight:hover {
    background: hsla(from var(--primary) h s l / 0.1);
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.highlight-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
}

.highlight-text {
    font-size: 0.9rem;
    color: var(--gray-700);
}

/* --- SERVICES SECTION --- */
.services {
    background: var(--gray-100);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}
.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-100);
    display: flex;
    flex-direction: column;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}
.service-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}
.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 1rem;
}
.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}
.service-features {
    list-style: none;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}
.service-features li {
    padding: 0.25rem 0 0.25rem 1.5rem;
    color: var(--gray-500);
    position: relative;
}
.service-features li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary);
}

.service-card .cta-btn {
    margin-top: auto;
    text-align: center;
    display: block;
}

/* --- PORTFOLIO SECTION --- */
.portfolio {
    position: relative;
    overflow: hidden;
    background: var(--gray-100);
}

.see-more-wrapper {
    text-align: center;
    margin-top: 3rem;
    position: relative;
    z-index: 10;
}

.portfolio .section-title,
.portfolio .section-subtitle {
    color: var(--dark);
}

.swiper-container {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
    width: 500px;
    height: 390px;
    background: var(--gray-800);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-700);
}

.swiper-slide iframe {
    width: 100%;
    height: 115%; /* Slight increase to hide the bottom bar */
    border: none;
    margin-top: -30px; /* Pushes the top bar out of view */
    pointer-events: none; /* Disables interaction with iframe content, so clicks go to the slide itself */
}


.swiper-button-next, .swiper-button-prev {
    color: var(--primary);
    z-index: 10;
}

/* --- EXPERIENCE SECTION --- */
#experience {
    background: var(--gray-100);
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: var(--gray-300);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    border-radius: 3px;
}

.timeline-container {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-container.left {
    left: 0;
}

.timeline-container.right {
    left: 50%;
}

.timeline-container.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.timeline-container.left.animate-on-scroll {
    transform: translateX(-100px);
}
.timeline-container.right.animate-on-scroll {
    transform: translateX(100px);
}
.timeline-container.animate-on-scroll.visible {
    opacity: 1;
    transform: translateX(0);
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -17px;
    background-color: white;
    border: 4px solid var(--gray-300);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
    transition: background-color 0.5s ease-in-out 0.5s, border-color 0.5s ease-in-out 0.5s;
}

.timeline-container.visible::after {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.right::after {
    left: -16px;
}

.timeline-content {
    padding: 20px 30px;
    background: var(--gradient);
    position: relative;
    border-radius: 15px;
    box-shadow: var(--shadow);
    color: var(--white);
}

.timeline-content h3 {
    color: var(--white);
    opacity: 0.8;
}
.timeline-content h4 {
    font-weight: 600;
    color: var(--white);
}
.timeline-content p {
    color: var(--white);
    opacity: 0.9;
}

/* --- SKILLS SECTION --- */
#skills { 
    background: var(--white);
}
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    text-align: center;
}
.skill-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-100);
}
.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.skill-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    height: 48px;
    line-height: 48px;
}
.skill-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
}
/* Skill Icon Brand Colors */
.skill-icon .fa-figma { color: #F24E1E; }
.skill-icon .fa-pen-ruler { color: #31C5F4; }
.skill-icon .fa-wordpress { color: #21759B; }
.skill-icon .fa-html5 { color: #E34F26; }
.skill-icon .fa-css3-alt { color: #1572B6; }
.skill-icon .fa-js-square { color: #F7DF1E; }


/* --- BLOG PREVIEW SECTION --- */
#latest-blog {
    background: var(--white);
}
.blog-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.blog-preview-card {
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    border: 1px solid var(--gray-100);
}
.blog-preview-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.blog-preview-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--dark);
    flex-grow: 1;
}
.blog-preview-card p {
    color: var(--gray-500);
    margin-bottom: 1.5rem;
}
.blog-preview-card .cta-btn {
    margin-top: auto;
    align-self: flex-start;
}


/* --- USEFUL LINKS SECTION --- */
.useful-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.link-card {
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.link-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    color: var(--primary);
}

.link-icon-wrapper {
    height: 60px;
    width: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.link-card:hover .link-icon-wrapper {
    transform: scale(1.1);
}

.link-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    transition: color 0.3s ease;
}

.link-card:hover .link-title {
    color: var(--primary);
}

/* --- CONTACT SECTION --- */
.contact {
    position: relative;
    overflow: hidden;
}

.contact .section-header {
    position: relative;
    z-index: 5;
}

.contact .section-title, .contact .section-subtitle {
    color: var(--white);
    text-shadow: 1px 1px 5px rgba(0,0,0,0.3);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
    position: relative;
    z-index: 5;
}

.calendly-container, .form-container {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    /* padding: 2rem; */ /* Removed for seamless widget */
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow);
    height: 740px;
    overflow: hidden; /* Hide anything that might spill out */
}

.calendly-inline-widget {
    height: 100% !important;
    width: 100% !important;
}

.form-container {
    padding: 2rem; /* Add padding back to form container only */
}

.form-container h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--dark);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.85rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.7);
    color: var(--dark);
}

.form-group select {
   appearance: none;
   -webkit-appearance: none;
   background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23000000' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
   background-repeat: no-repeat;
   background-position: right 0.7rem center;
   background-size: 1.2em 1.2em;
}

.form-group select option {
    background: #fff;
    color: var(--dark);
}

.form-group input::placeholder, .form-group textarea::placeholder {
    color: var(--gray-500);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px hsla(from var(--primary) h s l / 0.2);
}

.form-container .cta-btn {
    width: 100%;
    padding-top: 1rem;
    padding-bottom: 1rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}

#form-status {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    transition: all 0.3s ease;
}
.form-status.success {
    background: rgba(40, 167, 69, 0.1);
    color: #155724;
}
.form-status.error {
    background: rgba(220, 53, 69, 0.1);
    color: #721c24;
}


/* --- FOOTER --- */
.footer {
    background-color: var(--dark);
    color: var(--gray-300);
    padding: 6rem 0 2rem 0;
}

.footer .logo {
    color: var(--white);
}

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

.footer-about {
    margin-top: 1rem;
    color: var(--gray-500);
    line-height: 1.8;
    max-width: 250px;
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li:not(:last-child) {
    margin-bottom: 0.75rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--gray-500);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social a {
    color: var(--white); /* CORRECTED: Set icon color to white */
    font-size: 1.25rem;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-700);
    border-radius: 50%;
}

.footer-social a:hover {
    color: var(--white);
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: 2rem;
    text-align: center;
    color: var(--gray-500);
    font-size: 0.9rem;
}

/* --- BLOG SPECIFIC STYLES --- */
#blog-page { 
    background-color: var(--white); 
}
#blog-nav {
    padding: 8rem 2rem 6rem;
}
.blog-posts-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}
.blog-post-card {
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
}
.blog-post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.blog-card-content { padding: 1.5rem; display: flex; flex-direction: column; flex-grow: 1; }
.blog-card-title { font-size: 1.25rem; margin-bottom: 1rem; color: var(--dark); flex-grow: 1;}
.blog-card-excerpt { color: var(--gray-500); margin-bottom: 1.5rem; }
.read-more-btn {
    align-self: flex-start;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-top: 4rem;
}
.pagination button {
    background: var(--gray-100);
    border: 1px solid var(--gray-300);
    color: var(--gray-700);
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.pagination button:hover {
    background: var(--gray-300);
}
.pagination button.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}
.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.blog-content-view { 
    display: block; 
    padding-top: 8rem; /* Added top padding */
    padding-bottom: 4rem;
}
.blog-content { max-width: 800px; margin: 0 auto; line-height: 1.8; }
.blog-content h1, .blog-content h2, .blog-content h3 { color: var(--dark); margin-bottom: 1rem; }
.blog-content h1 { font-size: 2.8rem; margin-bottom: 2rem; line-height: 1.2; }
.blog-content h2 { font-size: 2rem; margin-top: 3rem; border-bottom: 2px solid var(--gray-100); padding-bottom: 0.5rem; }
.blog-content h3 { font-size: 1.5rem; margin-top: 2rem; }
.blog-content p, .blog-content li { font-size: 1.1rem; color: var(--gray-700); margin-bottom: 1.5rem; }
.blog-content a { color: var(--primary); text-decoration: none; font-weight: 500;}
.blog-content img { max-width: 100%; height: auto; border-radius: 15px; margin: 2.5rem 0; box-shadow: var(--shadow-lg); }
.blog-content .back-to-blog { 
    display: inline-flex; 
    margin-bottom: 2rem; 
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.blog-content .back-to-blog:hover {
    background-position: 100% 0%;
}

.ps--blockquote-wrapper {
    border-left: 4px solid var(--primary);
    padding-left: 1.5rem;
    margin: 2.5rem 0;
    font-size: 1.2rem;
    font-style: italic;
    color: var(--dark);
}
.ps--kt-wrapper, .ps--index-wrapper {
    background: var(--gray-100);
    padding: 2rem;
    border-radius: 15px;
    margin: 2.5rem 0;
    border: 1px solid var(--gray-300);
}
.ps--kt-heading, .ps--index-heading {
    font-size: 1.35rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
    font-weight: 600;
}
.ps--kt-list-wrapper, .ps--index-list-wrapper {
    list-style-type: none;
    padding-left: 0;
}
.ps--kt-list-wrapper li, .ps--index-list-wrapper li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.5rem;
}
.ps--kt-list-wrapper li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary);
}
.ps--index-list-wrapper li a {
    text-decoration: none;
}

/* Custom CTA Banners */
.ps-banner-parent-wrapper {
    border-radius: 20px;
    overflow: hidden;
    margin: 3rem 0;
    box-shadow: var(--shadow-lg);
}
/* CTA Banner 1 - Full Width */
.ps-banner-fullwidth-content-wrapper {
    background: var(--gradient);
    padding: 3rem 2.5rem;
    text-align: center;
}
.ps-banner-heading-light {
    color: var(--white);
    font-size: 2.2rem;
    margin-bottom: 1rem;
}
.ps-banner-txt-green {
    color: var(--accent);
}
.ps--banner-txt-light {
    color: var(--gray-300);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}
/* CTA Banner 2 - Split Content */
.ps--banner-flex-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
}
.ps--banner-flex-content-item {
    padding: 2rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.ps--banner-fullwidth-bg {
    background: var(--dark);
    color: white;
}
.ps-banner-heading-light-lrg {
    font-size: 2.2rem;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 1rem;
}
.ps-banner-check-list-wrapper {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.ps-banner-check-list-wrapper li {
    position: relative;
    padding-left: 1.5rem;
}
.ps-banner-check-list-wrapper li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent);
}
/* CTA Banner 3 - Image Background */
.ps--banner-flex-content-bg {
     background: var(--gray-100);
}
.ps-banner-heading-dark {
     color: var(--dark);
     font-size: 2.2rem;
     margin-bottom: 1rem;
}
.ps-banner-span-purple {
    color: var(--primary);
}
.ps--banner-flex-content-bg-img {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://placehold.co/600x400/0078FF/FFFFFF?text=Tech');
    background-size: cover;
    background-position: center;
    color: white;
    min-height: 300px;
}
.ps--text-shadow {
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}
.ps--banner-flex-content-bg-img .ps-banner-check-list-wrapper li::before {
    color: var(--white);
}


/* --- RESPONSIVE STYLES --- */
@media (max-width: 992px) {
    .nav-links, #desktop-cta { display: none; }
    .mobile-toggle { display: block; }
    
    .main-nav .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 10px);
        left: 1rem;
        right: 1rem;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 1.5rem;
        box-shadow: var(--shadow-lg);
        gap: 1.5rem;
        text-align: center;
        border-radius: 20px;
    }
    
    .main-nav.active .nav-links { display: flex; }
    .main-nav .nav-links a { color: var(--dark); }
    
    .glass-container { flex-direction: column; text-align: center; }
    .hero-stats, .hero-buttons { justify-content: center; }
    .about-content, .contact-grid { grid-template-columns: 1fr; }

    .contact-grid { gap: 2rem; }
    .calendly-container, .form-container { height: auto; }
    .calendly-container { height: 700px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .timeline::after { left: 31px; }
    .timeline-container { width: 100%; padding-left: 70px; padding-right: 25px; }
    .timeline-container.right { left: 0%; }
    .timeline-container.left::after, .timeline-container.right::after { left: 15px; }
}

@media (max-width: 768px) {
    section { padding: 4rem 0; }
    .glass-container { padding: 2rem; }
    .hero h1 { font-size: 2.5rem; }
    .hero-stats { flex-direction: column; gap: 1.5rem; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .about-highlights { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .useful-links-grid, .blog-preview-grid, .blog-posts-container { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-about { margin: 1rem auto; }
    .footer-social { justify-content: center; }
    .ps--banner-flex-content-wrapper { grid-template-columns: 1fr; }
}

@media (max-width: 576px) {
    .useful-links-grid { grid-template-columns: 1fr; }
}

/* --- ANIMATIONS --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeIn 0.8s ease forwards;
}

.fade-in:nth-child(1) { animation-delay: 0.1s; }
.fade-in:nth-child(2) { animation-delay: 0.2s; }
.fade-in:nth-child(3) { animation-delay: 0.3s; }
.fade-in:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeIn {
    to { opacity: 1; transform: translateY(0); }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.hidden { display: none !important; }

