/* 
 * S5 International - Project Management Consulting
 * Main Stylesheet
 */

/* ===== BASE STYLES ===== */
:root {
    /* Color Palette */
    --primary-color: #2c3e50;      /* Deep navy */
    --secondary-color: #1abc9c;    /* Teal/turquoise */
    --accent-color: #f39c12;       /* Gold/amber */
    --light-color: #f8f9fa;        /* Light gray */
    --dark-color: #212529;         /* Dark gray */
    --text-color: #333;            /* Text color */
    --text-light: #f8f9fa;         /* Light text */
    --text-muted: #6c757d;         /* Muted text */
    --border-radius: 8px;          /* Border radius */
    --transition-speed: 0.3s;      /* Transition speed */
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);  /* Box shadow */
    --box-shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.1);  /* Hover box shadow */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    transition: all var(--transition-speed) ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    line-height: 1.8;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    background-color: #fff;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

p {
    margin-bottom: 1.5rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    padding: 5rem 0;
    position: relative;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.mt-0 {
    margin-top: 0;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

.mt-5 {
    margin-top: 3rem;
}

.py-0 {
    padding-top: 0;
    padding-bottom: 0;
}

.py-1 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.py-2 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-3 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.py-4 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.py-5 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.px-0 {
    padding-left: 0;
    padding-right: 0;
}

.px-1 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.px-2 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.px-3 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.px-4 {
    padding-left: 2rem;
    padding-right: 2rem;
}

.px-5 {
    padding-left: 3rem;
    padding-right: 3rem;
}

.section-title {
    position: relative;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    text-align: center;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(26, 188, 156, 0.3);
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(26, 188, 156, 0.4);
}

.btn-primary {
    background-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.3);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    box-shadow: 0 8px 20px rgba(44, 62, 80, 0.4);
}

.btn-accent {
    background-color: var(--accent-color);
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

.btn-accent:hover {
    background-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(243, 156, 18, 0.4);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    box-shadow: none;
}

.btn-outline:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(26, 188, 156, 0.4);
}

.rtpi-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.rtpi-badge img {
    height: 20px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.5rem;
}

/* ===== HEADER & NAVIGATION ===== */
header {
    background-color: var(--primary-color);
    color: white;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background-color: var(--primary-color);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(135deg, rgba(26, 188, 156, 0.7) 0%, rgba(44, 62, 80, 0.9) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    margin: 0;
    font-size: 4rem;
    letter-spacing: 1px;
    color: white;
    animation: fadeInDown 1s ease-out;
}

.hero .tagline {
    font-style: italic;
    margin-top: 1rem;
    font-size: 1.5rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-cta {
    margin-top: 2rem;
    animation: fadeIn 1.5s ease-out 0.6s both;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-indicator svg {
    width: 30px;
    height: 30px;
    fill: white;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

nav {
    background-color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
}

nav.scrolled {
    padding: 0.7rem 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
    text-decoration: none;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

nav li {
    margin: 0 1.2rem;
    position: relative;
}

.nav-divider {
    width: 1px;
    height: 20px;
    background-color: var(--text-muted);
    margin: 0 0.5rem;
}

.nav-pages-label {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    margin-right: 1rem;
}

nav a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

nav a:hover {
    color: var(--secondary-color);
}

nav a:hover::after {
    width: 100%;
}

nav a.active {
    color: var(--secondary-color);
}

nav a.active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* ===== HOME PAGE SECTIONS ===== */
.about-preview {
    background-color: white;
    padding: 6rem 0;
}

.about-preview-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3rem;
}

.about-preview-text {
    flex: 1;
    min-width: 300px;
}

.about-preview-image {
    flex: 1;
    min-width: 300px;
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.about-preview-image::before {
    content: '';
    display: block;
    padding-top: 75%; /* 4:3 Aspect Ratio */
}

.about-preview-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-preview-image:hover img {
    transform: scale(1.05);
}

.services-preview {
    background-color: var(--light-color);
    padding: 6rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background-color: var(--secondary-color);
    transition: height 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.service-card:hover::before {
    height: 100%;
}

.service-card h3 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    position: relative;
}

.service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.service-card p {
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.projects-preview {
    background-color: white;
    padding: 6rem 0;
}

.project-carousel {
    margin-top: 3rem;
    position: relative;
}

.project-slide {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}

.project-image {
    flex: 0.8;
    min-width: 250px;
    max-width: 450px;
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-image:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.project-image img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.project-image:hover img {
    transform: scale(1.05);
}

.project-info {
    flex: 1.2;
    min-width: 300px;
}

.project-info h3 {
    margin-top: 0;
    font-size: 1.8rem;
}

.project-meta {
    color: var(--secondary-color);
    font-style: italic;
    margin: 0.5rem 0 1rem;
    font-weight: 500;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background-color: var(--secondary-color);
    transform: scale(1.2);
}

.client-experience {
    background-color: var(--light-color);
    padding: 6rem 0;
}

.experience-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
}

.experience-text {
    flex: 1;
    min-width: 300px;
}

.experience-image {
    flex: 1;
    min-width: 300px;
    height: 300px; /* Fixed height */
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f5f5f5;
}

.experience-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.contact-preview {
    background-color: white;
    padding: 6rem 0;
}

.contact-preview-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.contact-info-preview {
    flex: 1;
    min-width: 300px;
}

.contact-form-preview {
    flex: 1;
    min-width: 300px;
    background: var(--light-color);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--primary-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(26, 188, 156, 0.2);
}

/* ===== ABOUT PAGE STYLES ===== */
.about-section {
    padding: 6rem 0;
    background-color: white;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    margin-top: 3rem;
}

.about-card {
    flex: 1;
    min-width: 300px;
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.about-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.team-section {
    background-color: var(--light-color);
    padding: 6rem 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-member {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.team-photo {
    position: relative;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    background-color: #f5f5f5;
}

.team-photo img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info {
    padding: 1.5rem;
    text-align: center;
}

.team-info h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.team-position {
    color: var(--secondary-color);
    font-style: italic;
    margin-bottom: 1rem;
}

/* ===== SERVICES PAGE STYLES ===== */
.services-section {
    padding: 6rem 0;
    background-color: white;
}

.service-detail {
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 1px solid #eee;
}

.service-detail:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.service-detail-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
}

.service-detail-text {
    flex: 1;
    min-width: 300px;
}

.service-detail-image {
    flex: 1;
    min-width: 300px;
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.service-detail-image::before {
    content: '';
    display: block;
    padding-top: 75%; /* 4:3 Aspect Ratio */
}

.service-detail-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.process-section {
    background-color: var(--light-color);
    padding: 6rem 0;
}

.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 3rem;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--secondary-color);
    z-index: 1;
}

.process-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 15px;
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 2;
}

/* ===== PROJECTS PAGE STYLES ===== */
.projects-section {
    padding: 6rem 0;
    background-color: white;
}

.project-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 3rem;
}

.filter-btn {
    background: none;
    border: none;
    padding: 0.5rem 1rem;
    margin: 0 0.5rem 1rem;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-muted);
    transition: all 0.3s ease;
    position: relative;
}

.filter-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.filter-btn:hover {
    color: var(--primary-color);
}

.filter-btn:hover::after {
    width: 80%;
}

.filter-btn.active {
    color: var(--secondary-color);
}

.filter-btn.active::after {
    width: 80%;
}

.project-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.project-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.project-image {
    position: relative;
    height: 300px;
    background-color: #f5f5f5;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-card-content {
    padding: 1.5rem;
}

.project-card h3 {
    color: var(--primary-color);
    margin-top: 0;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.project-meta {
    color: var(--secondary-color);
    font-style: italic;
    margin-bottom: 1rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.project-detail {
    padding: 6rem 0;
    background-color: white;
}

.project-detail-header {
    margin-bottom: 3rem;
}

.project-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
}

.meta-item {
    flex: 1;
    min-width: 150px;
}

.meta-item h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: var(--text-muted);
}

.meta-item p {
    margin-bottom: 0;
    font-weight: 500;
}

.project-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    position: relative;
    padding-top: 66.67%; /* 3:2 Aspect Ratio */
    cursor: pointer;
}

.gallery-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* ===== CONTACT PAGE STYLES ===== */
.contact-section {
    padding: 6rem 0;
    background-color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info {
    background: var(--light-color);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.contact-info p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.contact-info strong {
    display: inline-block;
    width: 80px;
    color: var(--secondary-color);
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.contact-form h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.social-links {
    margin-top: 2rem;
}

.social-links h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.social-link {
    display: inline-block;
    margin-right: 1.5rem;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-link:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* ===== FOOTER ===== */
footer {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 3rem 0;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 188, 156, 0.1) 0%, rgba(44, 62, 80, 0.95) 100%);
    z-index: 1;
}

footer .container {
    position: relative;
    z-index: 2;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.footer-column {
    flex: 1;
    min-width: 200px;
    margin-bottom: 1.5rem;
    text-align: left;
}

.footer-column h4 {
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul {
    padding-left: 1rem;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-column a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin-bottom: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@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);
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 1s ease-out both;
}

.fade-in-up {
    animation: fadeInUp 1s ease-out both;
}

.fade-in-down {
    animation: fadeInDown 1s ease-out both;
}

.slide-in-left {
    animation: slideInLeft 1s ease-out both;
}

.slide-in-right {
    animation: slideInRight 1s ease-out both;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 500px;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero .tagline {
        font-size: 1.2rem;
    }
    
    .nav-container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 1rem;
    }
    
    nav li {
        margin: 0 0.8rem;
    }
    
    .about-preview-content,
    .project-slide,
    .experience-content {
        flex-direction: column;
    }
    
    .about-preview-image,
    .project-image,
    .experience-image {
        margin-top: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav li {
        margin: 0.5rem 0;
    }
    
    .service-card,
    .about-card,
    .project-card {
        padding: 1.5rem;
    }
}
