/* 
=========================================
   Android Developer Portfolio - CSS
=========================================
*/

/* Base Styles & Variables */
:root {
    /* Light mode variables */
    --primary-color: #3DDC84; /* Android green */
    --secondary-color: #083042;
    --accent-color: #4285F4; /* Google blue */
    --text-dark: #333333;
    --text-light: #767676;
    --text-white: #ffffff;
    --bg-light: #f9f9f9;
    --bg-dark: #121212;
    --border-color: #e0e0e0;
    --card-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    
    /* Dark mode variables */
    --dark-primary-color: #4DF89C; /* Brighter Android green for dark mode */
    --dark-secondary-color: #1E4154;
    --dark-accent-color: #5C9CFF; /* Brighter Google blue for dark mode */
    --dark-text-dark: #E0E0E0;
    --dark-text-light: #B0B0B0;
    --dark-text-white: #ffffff;
    --dark-bg-light: #1E1E1E;
    --dark-bg-dark: #121212;
    --dark-bg-card: #2A2A2A;
    --dark-border-color: #3E3E3E;
    --dark-card-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

/* Dark Mode Styles */
body.dark-mode {
    background-color: var(--dark-bg-dark);
    color: var(--dark-text-dark);
}

/* Reset some tags for dark mode */
.dark-mode h1, 
.dark-mode h2, 
.dark-mode h3, 
.dark-mode h4, 
.dark-mode h5, 
.dark-mode h6 {
    color: var(--dark-text-dark);
}

.dark-mode p {
    color: var(--dark-text-light);
}

/* Dark Mode Toggle Button */
.theme-switch-wrapper {
    display: flex;
    align-items: center;
    margin-left: 2rem;
}

.theme-switch {
    display: inline-block;
    position: relative;
    width: 50px;
    height: 24px;
}

.theme-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.theme-icon {
    margin-right: 8px;
    font-size: 1.8rem;
    color: var(--text-dark);
}

.dark-mode .theme-icon {
    color: var(--dark-text-dark);
}

/* Dark Mode Section Styles */
.dark-mode section {
    background-color: var(--dark-bg-dark);
}

.dark-mode .section-title {
    color: var(--dark-text-dark);
}

/* Dark Mode Button Styles */
.dark-mode .btn-primary {
    background-color: var(--dark-primary-color);
    color: var(--dark-bg-dark);
}

.dark-mode .btn-primary:hover {
    background-color: #5aff9c;
}

.dark-mode .btn-secondary {
    background-color: var(--dark-secondary-color);
    color: var(--dark-text-white);
}

.dark-mode .btn-outline {
    border-color: var(--dark-primary-color);
    color: var(--dark-primary-color);
}

.dark-mode .btn-outline:hover {
    background-color: var(--dark-primary-color);
    color: var(--dark-bg-dark);
}

/* Dark Mode Header & Navigation */
.dark-mode header {
    background-color: rgba(30, 30, 30, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.dark-mode header.scrolled {
    background-color: rgba(30, 30, 30, 0.98);
}

.dark-mode .logo a {
    color: var(--dark-text-white);
}

.dark-mode .logo .highlight {
    color: var(--dark-primary-color);
}

.dark-mode nav ul li a {
    color: var(--dark-text-dark);
}

.dark-mode nav ul li a::after {
    background-color: var(--dark-primary-color);
}

.dark-mode nav ul li a:hover {
    color: var(--dark-primary-color);
}

.dark-mode .bar {
    background-color: var(--dark-text-dark);
}

/* Dark Mode Hero Section */
.dark-mode .hero {
    background-color: var(--dark-bg-dark);
}

.dark-mode .hero-content h1 {
    color: var(--dark-text-white);
}

/* Dark Mode About Section */
.dark-mode .about {
    background-color: var(--dark-bg-light);
}

.dark-mode .profile-image-container {
    box-shadow: var(--dark-card-shadow);
}

.dark-mode .profile-image-container::before {
    background-color: var(--dark-primary-color);
}

.dark-mode .skill-bar {
    background: var(--dark-border-color);
}

.dark-mode .skill-level {
    background: var(--dark-primary-color);
}

/* Dark Mode Services Section */
.dark-mode .services {
    background-color: var(--dark-bg-dark);
}

.dark-mode .service-card {
    background-color: var(--dark-bg-card);
    box-shadow: var(--dark-card-shadow);
}

.dark-mode .service-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.dark-mode .service-icon {
    color: var(--dark-primary-color);
}

/* Dark Mode Projects Section */
.dark-mode .projects {
    background-color: var(--dark-bg-light);
}

.dark-mode .filter-btn {
    color: var(--dark-text-light);
}

.dark-mode .filter-btn.active, 
.dark-mode .filter-btn:hover {
    background-color: var(--dark-primary-color);
    color: var(--dark-bg-dark);
}

.dark-mode .project-card {
    background-color: var(--dark-bg-card);
    box-shadow: var(--dark-card-shadow);
}

.dark-mode .project-card:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.dark-mode .project-tech span {
    background-color: rgba(61, 220, 132, 0.15);
    color: #4DF89C;
}

.dark-mode .github-link, 
.dark-mode .external-link {
    background-color: var(--dark-bg-dark);
    color: var(--dark-text-light);
}

.dark-mode .github-link:hover, 
.dark-mode .external-link:hover {
    background-color: var(--dark-primary-color);
    color: var(--dark-bg-dark);
}

/* Dark Mode Testimonials Section */
.dark-mode .testimonials {
    background-color: var(--dark-bg-dark);
}

.dark-mode .testimonial-content {
    background-color: var(--dark-bg-card);
    box-shadow: var(--dark-card-shadow);
}

.dark-mode .testimonial-text i {
    color: var(--dark-primary-color);
}

.dark-mode .dot {
    background-color: var(--dark-border-color);
}

.dark-mode .dot.active {
    background-color: var(--dark-primary-color);
}

/* Dark Mode Contact Section */
.dark-mode .contact {
    background-color: var(--dark-bg-light);
}

.dark-mode .info-item i {
    color: var(--dark-primary-color);
    background-color: rgba(77, 248, 156, 0.1);
}

.dark-mode .social-icon {
    background-color: var(--dark-bg-dark);
    color: var(--dark-text-light);
}

.dark-mode .social-icon:hover {
    background-color: var(--dark-primary-color);
    color: var(--dark-bg-dark);
}

.dark-mode .form-group input, 
.dark-mode .form-group textarea {
    border: 1px solid var(--dark-border-color);
    background-color: var(--dark-bg-card);
    color: var(--dark-text-dark);
}

.dark-mode .form-group input:focus, 
.dark-mode .form-group textarea:focus {
    border-color: var(--dark-primary-color);
}

/* Dark Mode Footer */
.dark-mode footer {
    background-color: var(--dark-secondary-color);
}

.dark-mode .footer-logo p,
.dark-mode .footer-links ul li a,
.dark-mode .footer-newsletter p,
.dark-mode .footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
}

.dark-mode .footer-links ul li a:hover {
    color: var(--dark-primary-color);
}

.dark-mode .footer-newsletter input {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--dark-text-white);
}

.dark-mode .success-message {
    color: var(--dark-primary-color);
    background-color: rgba(77, 248, 156, 0.1);
}

/* Success Message Styles (for both light and dark modes) */
.success-message {
    padding: 1.5rem;
    text-align: center;
    border-radius: 5px;
    margin-top: 2rem;
    font-weight: 500;
    color: var(--primary-color);
    background-color: rgba(61, 220, 132, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 62.5%; /* 1rem = 10px */
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    font-size: 1.6rem;
    overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 4.5rem;
    font-weight: 700;
}

h2 {
    font-size: 3.6rem;
    font-weight: 600;
}

h3 {
    font-size: 2.4rem;
    font-weight: 500;
}

p {
    margin-bottom: 2rem;
    color: var(--text-light);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    padding: 10rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 5rem;
    height: 0.4rem;
    background: var(--primary-color);
    margin: 1.5rem auto 0;
    border-radius: 5px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1.2rem 2.8rem;
    border-radius: 5px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.6rem;
    border: none;
}

.btn-sm {
    padding: 0.8rem 1.6rem;
    font-size: 1.4rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-dark);
}

.btn-primary:hover {
    background-color: #32c174;
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--text-white);
}

.btn-secondary:hover {
    background-color: #064058;
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--bg-dark);
    transform: translateY(-3px);
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 2rem 0;
    transition: var(--transition);
}

header.scrolled {
    padding: 1.2rem 0;
    background-color: rgba(255, 255, 255, 0.98);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.logo .highlight {
    color: var(--primary-color);
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 3rem;
}

nav ul li a {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav ul li a:hover, nav ul li a:hover::after {
    color: var(--primary-color);
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-dark);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 14rem 0 10rem;
    background-color: var(--text-white);
    position: relative;
    overflow: hidden;
}

/* Make sure no unwanted pseudo-elements appear */
.hero::before,
.hero::after {
    display: none !important;
    content: none !important;
}

.hero .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
    z-index: 10;
}

.hero-content {
    flex: 1;
    padding-right: 2rem;
    margin-bottom: 0;
    min-width: 300px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.8rem;
    margin-bottom: 3rem;
    color: var(--text-light);
    max-width: 90%;
    min-height: 1.8em;
}

.cta-buttons .btn {
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    z-index: 5;
    min-width: 300px;
}

.hero-image img {
    max-width: 90%;
    animation: float 3s ease-in-out infinite;
    display: block;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Hero Section Bullet Points */
.hero-bullet-points {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem 0;
}

.hero-bullet-points li {
    font-size: 1.6rem;
    line-height: 1.5;
    margin-bottom: 0.8rem;
    color: var(--text-light);
    transform: translateY(20px);
    opacity: 0;
    animation: fadeUpIn 0.5s ease-out forwards;
}

.hero-bullet-points li:nth-child(1) {
    animation-delay: 0.1s;
}

.hero-bullet-points li:nth-child(2) {
    animation-delay: 0.3s;
}

.hero-bullet-points li:nth-child(3) {
    animation-delay: 0.5s;
}

.hero-bullet-points li:nth-child(4) {
    animation-delay: 0.7s;
}

.hero-bullet-points li:nth-child(5) {
    animation-delay: 0.9s;
}

.dark-mode .hero-bullet-points li {
    color: var(--dark-text-light);
}

/* Experience Items */
.experience-items {
    margin-bottom: 2rem;
}

.experience-item {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    border-left: 3px solid var(--primary-color);
    transition: transform 0.3s ease, border-left 0.3s ease;
}

.experience-item:hover {
    transform: translateX(5px);
    border-left: 3px solid var(--accent-color);
}

.experience-item h4 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.experience-item p {
    font-size: 1.5rem;
    color: var(--text-light);
}

.dark-mode .experience-item {
    border-left: 3px solid var(--dark-primary-color);
}

.dark-mode .experience-item:hover {
    border-left: 3px solid var(--dark-accent-color);
}

.dark-mode .experience-item h4 {
    color: var(--dark-text-dark);
}

.dark-mode .experience-item p {
    color: var(--dark-text-light);
}

/* Create assets directory for resume */
.resume-link a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.resume-link a::before {
    content: "📄 ";
    margin-right: 8px;
}

/* About Section */
.about {
    background-color: var(--text-white);
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 5rem;
}

.about-image {
    flex: 1;
    min-width: 300px;
    position: relative;
    display: flex;
    justify-content: center;
}

.profile-image-container {
    width: 320px;
    height: 320px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    box-shadow: var(--card-shadow);
}

.profile-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-image-container::before {
    content: '';
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 15px;
    z-index: -1;
}

.about-text {
    flex: 2;
    min-width: 300px;
}

.skills {
    margin: 3rem 0;
}

.skill-bars {
    margin-top: 2rem;
}

.skill {
    margin-bottom: 2rem;
}

.skill span {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.skill-bar {
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.skill-level {
    display: block;
    height: 100%;
    width: 0;
    background: var(--primary-color);
    border-radius: 4px;
    transition: width 1s ease;
}

.resume-link {
    margin-top: 3rem;
}

/* Services Section */
.services {
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 3rem;
}

.service-card {
    background-color: var(--text-white);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-content {
    width: 100%;
    text-align: center;
    position: relative;
    margin-top: 1rem;
}

.service-content h3 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-weight: 600;
}

.dark-mode .service-content h3 {
    color: var(--dark-text-white);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 3.6rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    height: 5rem;
    width: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem auto;
}

.service-icon i {
    font-size: 3.6rem;
    display: inline-block;
    line-height: 1;
}

.service-card h3 {
    margin-bottom: 1.5rem;
}

.service-card p {
    margin-bottom: 0;
}

/* Projects Section */
.projects {
    background-color: var(--text-white);
}

.project-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.filter-btn {
    background: none;
    border: none;
    padding: 0.8rem 2rem;
    margin: 0 0.5rem 1rem;
    cursor: pointer;
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--text-light);
    border-radius: 30px;
    transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--primary-color);
    color: var(--text-white);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 3rem;
}

.project-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    background-color: var(--text-white);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.project-img {
    height: 220px;
    overflow: hidden;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-img img {
    transform: scale(1.1);
}

.project-info {
    padding: 2rem;
}

.project-info h3 {
    margin-bottom: 1rem;
}

.project-info p {
    margin-bottom: 1.5rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.project-tech span {
    background-color: rgba(61, 162, 100, 0.15);
    color: #28a262;
    padding: 0.4rem 1.2rem;
    border-radius: 30px;
    font-size: 1.2rem;
    margin-right: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.project-links {
    display: flex;
    align-items: center;
}

.project-links a:not(:last-child) {
    margin-right: 1.5rem;
}

.github-link, .external-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.6rem;
    height: 3.6rem;
    border-radius: 50%;
    background-color: var(--bg-light);
    color: var(--text-dark);
    transition: var(--transition);
}

.github-link:hover, .external-link:hover {
    background-color: var(--primary-color);
    color: var(--text-white);
}

.projects-cta {
    text-align: center;
    margin-top: 5rem;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--bg-light);
}

.testimonial-slider {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.testimonial-slide {
    display: none;
    animation: fadeIn 1s ease;
}

.testimonial-slide.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.testimonial-content {
    background-color: var(--text-white);
    padding: 4rem;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
}

.testimonial-text {
    margin-bottom: 3rem;
    position: relative;
}

.testimonial-text i {
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.testimonial-text p {
    font-size: 1.8rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 2rem;
}

.author-info h4 {
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.author-info p {
    margin-bottom: 0;
    font-size: 1.4rem;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--border-color);
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary-color);
}

/* Contact Section */
.contact {
    background-color: var(--text-white);
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 5rem;
}

.contact-info, .contact-form {
    flex: 1;
    min-width: 300px;
}

.contact-info h3, .contact-form h3 {
    margin-bottom: 2.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.info-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 1.5rem;
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(61, 220, 132, 0.1);
    border-radius: 50%;
}

.social-links {
    display: flex;
    margin-top: 3rem;
}

.social-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-light);
    color: var(--text-dark);
    margin-right: 1.5rem;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: var(--text-white);
    transform: translateY(-5px);
}

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

.form-group input, .form-group textarea {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: 'Roboto', sans-serif;
    font-size: 1.6rem;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--text-white);
    padding: 6rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    flex: 2;
    min-width: 250px;
}

.footer-links {
    flex: 1;
    min-width: 250px;
}

.footer-logo a {
    font-size: 2.4rem;
    font-weight: 700;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1.5rem;
}

.footer-links h3 {
    margin-bottom: 2rem;
}

.footer-links ul li {
    margin-bottom: 1rem;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

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

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

.footer-newsletter form {
    display: flex;
    flex-wrap: wrap;
}

.footer-newsletter input {
    flex: 1;
    min-width: 200px;
    padding: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    border-radius: 5px 0 0 5px;
    margin-right: -1px;
}

.footer-newsletter input:focus {
    outline: none;
}

.footer-newsletter .btn {
    border-radius: 0 5px 5px 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.4rem;
    margin-bottom: 0;
}

/* Responsive Styles */
@media screen and (max-width: 1024px) {
    html {
        font-size: 60%;
    }

    section {
        padding: 8rem 0;
    }
}

@media screen and (max-width: 768px) {
    html {
        font-size: 57.5%;
    }

    nav {
        position: fixed;
        top: 7rem;
        left: -100%;
        width: 80%;
        height: calc(100vh - 7rem);
        background-color: var(--text-white);
        transition: 0.5s;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    nav.active {
        left: 0;
    }

    nav ul {
        flex-direction: column;
        padding: 3rem 0;
    }

    nav ul li {
        margin: 0;
        text-align: center;
    }

    nav ul li a {
        display: block;
        padding: 1.5rem 0;
        font-size: 1.8rem;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero .container,
    .about-content,
    .contact-container {
        flex-direction: column;
    }

    .hero-content,
    .hero-image {
        text-align: center;
        justify-content: center;
        padding: 0;
    }

    .hero-image {
        margin-top: 4rem;
    }

    .about-image {
        margin: 0 auto 2rem;
    }

    .services-grid,
    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media screen and (max-width: 480px) {
    html {
        font-size: 55%;
    }

    h1 {
        font-size: 3.8rem;
    }

    .hero {
        padding-top: 12rem;
    }

    .section-title {
        font-size: 3rem;
    }

    .project-filters {
        overflow-x: auto;
        padding-bottom: 1rem;
        justify-content: flex-start;
    }

    .testimonial-content {
        padding: 3rem 2rem;
    }
}

/* Subheading Container */
.subheading-container {
    margin-bottom: 2.5rem;
    min-height: 4rem; /* Ensure enough space for the typing animation */
    position: relative;
    overflow: visible; /* Allow the border to be visible outside the container */
}

/* Form Status Messages */
.form-status {
    padding: 1rem;
    margin-top: 1.5rem;
    border-radius: 5px;
    font-size: 1.4rem;
    font-weight: 500;
    text-align: center;
}

.success-message {
    background-color: rgba(61, 220, 132, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(61, 220, 132, 0.3);
}

.error-message {
    background-color: rgba(255, 76, 76, 0.1);
    color: #ff4c4c;
    border: 1px solid rgba(255, 76, 76, 0.3);
}

.info-message {
    background-color: rgba(66, 133, 244, 0.1);
    color: #4285F4;
    border: 1px solid rgba(66, 133, 244, 0.3);
}

.dark-mode .success-message {
    background-color: rgba(77, 248, 156, 0.1);
    color: var(--dark-primary-color);
    border: 1px solid rgba(77, 248, 156, 0.3);
}

.dark-mode .error-message {
    background-color: rgba(255, 76, 76, 0.1);
    color: #ff6b6b;
    border: 1px solid rgba(255, 76, 76, 0.3);
}

.dark-mode .info-message {
    background-color: rgba(92, 156, 255, 0.1);
    color: #5C9CFF;
    border: 1px solid rgba(92, 156, 255, 0.3);
}

/* Skills Container Styles */
.skills-container {
    margin: 3rem 0;
}

.skills-category {
    margin-bottom: 2.5rem;
}

.skills-category h4 {
    font-size: 2rem;
    margin-bottom: 1.2rem;
    color: var(--text-dark);
    position: relative;
    display: inline-block;
}

.skills-category h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.skills-tags {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.skill-tag {
    background-color: rgba(61, 162, 100, 0.15) !important;
    color: #28a262 !important;
    padding: 0.8rem 1.5rem !important;
    border-radius: 30px !important;
    font-size: 1.4rem !important;
    font-weight: 500 !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    border: 1px solid rgba(61, 162, 100, 0.2) !important;
    display: inline-flex !important;
    align-items: center !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: static !important;
    pointer-events: auto !important;
}

.skill-tag:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(61, 162, 100, 0.2);
    background-color: rgba(61, 162, 100, 0.25);
}

/* Dark mode styles for skills */
.dark-mode .skills-category h4 {
    color: var(--dark-text-dark);
}

.dark-mode .skills-category h4::after {
    background-color: var(--dark-primary-color);
}

.dark-mode .skill-tag {
    background-color: rgba(61, 220, 132, 0.15);
    color: #4DF89C;
    border: 1px solid rgba(61, 220, 132, 0.2);
}

.dark-mode .skill-tag:hover {
    box-shadow: 0 5px 15px rgba(61, 220, 132, 0.2);
    background-color: rgba(61, 220, 132, 0.25);
}

/* Project Details Expandable Section */
.project-details {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease-in-out, opacity 0.5s ease-in-out, margin 0.4s ease;
    background-color: rgba(245, 245, 245, 0.5);
    border-radius: 8px;
    margin-top: 0;
    padding: 0 15px;
}

/* Class to disable tilt effect while details are expanded */
.tilt-disabled {
    transform: none !important;
    transition: none !important;
}

.dark-mode .project-details {
    background-color: rgba(30, 30, 30, 0.5);
}

.project-details.active {
    margin-top: 20px;
    padding: 15px;
}

.project-details h4 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-top: 20px;
    margin-bottom: 10px;
}

.dark-mode .project-details h4 {
    color: var(--dark-primary-color);
}

.project-details h4:first-child {
    margin-top: 0;
}

.project-details p {
    font-size: 1.4rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.project-details ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.project-details li {
    font-size: 1.4rem;
    line-height: 1.6;
    margin-bottom: 8px;
}

/* SwiftCash Gallery Slider */
.gallery-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gallery-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: block;
}

.gallery-image.active {
    opacity: 1;
    z-index: 2;
}

.swiftcash-gallery {
    position: relative;
    height: 220px;
}

.gallery-nav {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}

.gallery-dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.gallery-dot.active {
    background-color: var(--primary-color);
}

.dark-mode .gallery-dot.active {
    background-color: var(--dark-primary-color);
} 