/* Font Declarations */
/* Cabinet Grotesk Font Family */
@font-face {
    font-family: 'Cabinet Grotesk';
    src: url('../fonts/CabinetGrotesk-Thin.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cabinet Grotesk';
    src: url('../fonts/CabinetGrotesk-Extralight.otf') format('opentype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cabinet Grotesk';
    src: url('../fonts/CabinetGrotesk-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cabinet Grotesk';
    src: url('../fonts/CabinetGrotesk-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cabinet Grotesk';
    src: url('../fonts/CabinetGrotesk-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cabinet Grotesk';
    src: url('../fonts/CabinetGrotesk-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cabinet Grotesk';
    src: url('../fonts/CabinetGrotesk-Extrabold.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cabinet Grotesk';
    src: url('../fonts/CabinetGrotesk-Black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* Plus Jakarta Sans Font Family */
@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../fonts/PlusJakartaSans-VariableFont_wght.ttf') format('truetype-variations');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../fonts/PlusJakartaSans-Italic-VariableFont_wght.ttf') format('truetype-variations');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}


:root {
    --primary-colour: #9e00af;
    --secondary-colour: #ffb700;
    --accent-colour: #008080;
    --background-colour: #f8f0ff;
    --text-colour: #333333;
    --card-background: #ffffff;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Cabinet Grotesk', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    /*font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;*/
    line-height: 1.6;
    color: var(--text-colour);
    background-color: var(--background-colour);
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
header {
    background: linear-gradient(135deg, var(--primary-colour), var(--secondary-colour));
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}
.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    transform: rotate(-5deg);
}
nav ul {
    display: flex;
    list-style: none;
}
nav ul li {
    margin-left: 1.5rem;
}
nav ul li a {
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    position: relative;
}
nav ul li a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-colour);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
nav ul li a:hover::after {
    transform: scaleX(1);
}
.burger-menu {
    display: none;
    cursor: pointer;
}
.burger-menu div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: all 0.3s ease;
}
main {
    padding-top: 63px; /* Reduced from 80px to match header height */
}
.hero {
    background: linear-gradient(135deg, var(--primary-colour), var(--secondary-colour));
    color: white;
    text-align: center;
    padding: 6rem 0;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}
h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    transform: skew(-5deg);
}
.hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    font-style: italic;
}
.btn {
    display: inline-block;
    background-color: var(--accent-colour);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.btn:hover {
    background-color: #006666;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.services {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin: 4rem auto;
    max-width: 1200px;
    align-items: flex-start;
}
.service-card {
    flex: 0 1 48%;
    background: linear-gradient(135deg, var(--primary-colour), var(--secondary-colour));
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 200px;
}
.service-card:not(.expanded):hover {
    transform: translateY(-5px) rotate(2deg);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}
.card-content {
    padding: 1.5rem;
    color: white;
    position: relative;
    overflow: hidden;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* REFLECTIVE ANIMATION EFFECT
.card-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 70%);
    transform: rotate(45deg);
    transition: all 0.5s ease;
}
.service-card:hover .card-content::before {
    top: -25%;
    left: -25%;
}
/*END REFLECTIVE ANIMATION EFFECT*/


.card-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}
.card-content p {
    font-size: 1.1rem;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}
.expanded-content {
    padding: 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, background-color 0.3s ease;
}
.service-card.expanded .expanded-content {
    max-height: none;
    background-color: var(--card-background);
}
.expanded-content h4 {
    color: var(--primary-colour);
    font-size: 1.4rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}
.expanded-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}
.cta-button, .learn-more-link {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    margin-top: 1rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.cta-button {
    background-color: var(--accent-colour);
    color: white;
    display: block;
    text-align: center;
}
.cta-button:hover {
    background-color: #006666;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.learn-more-link {
    background-color: transparent;
    color: var(--accent-colour);
    border: 2px solid var(--accent-colour);
    margin-left: 10px;
}
.learn-more-link:hover {
    background-color: var(--accent-colour);
    color: white;
}
.read-more {
    position: absolute;
    bottom: 10px;
    right: 20px;
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
    text-transform: uppercase;
    z-index: 2;
}
.service-card.expanded .read-more {
    display: none;
}

.card-value-prop {
    font-weight: normal;
    /*padding-inline: 1.5rem 1.5rem;*/
    text-align: center;
    font-size: larger;
    background: linear-gradient(45deg, var(--primary-colour), var(--secondary-colour));
    opacity: 0.75;
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
}

.card-provocation {
    font-style: italic;
    text-align: center;
    line-height: 200%;
}

.service-card h2 {
    text-align: center;
}


.services .service-card-problems li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    list-style: none;
}

.services .service-card-problems li::before {
    content: "\2717";
    position: absolute;
    left: -0.3rem; /* Adjust this value as needed */
    color: var(--primary-colour);
}

.services .service-card-results li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    list-style: none;
}

.services .service-card-results li::before {
    content: "\279C";
    position: absolute;
    left: 0;
    color: var(--secondary-colour);
}

/* <<ABOUT SECTION>> */

.about {
    background-color: var(--card-background);
    padding: 6rem 0;
    clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
}
.about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}
.about-image {
    flex: 1;
    text-align: center;
}
.about-image img {
    max-width: 100%;
    border-radius: 50%;
    border: 4px solid var(--primary-colour);
    transform: rotate(-5deg);
    transition: all 0.3s ease;
}
.about-image img:hover {
    transform: rotate(0deg) scale(1.05);
}
.about-text {
    flex: 2;
}
.about-text h2 {
    color: var(--primary-colour);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* PRICING SECTION */

.pricing {
    background: linear-gradient(135deg, var(--primary-colour), var(--secondary-colour));
    padding: 6rem 0;
    color: white;
    clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
}

.pricing-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.pricing h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.pricing-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    flex: 1;
    max-width: 400px;
}

.pricing-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 70%);
    transform: rotate(45deg);
    transition: all 0.5s ease;
    pointer-events: none; /* This ensures it won't block clicks */
}

.pricing-item:hover::before {
    top: -25%;
    left: -25%;
}

.pricing-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.pricing-item h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    position: relative;
}

.price {
    font-size: 3rem;
    font-weight: bold;
    margin: 1rem 0;
    position: relative;
}

.price-detail {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    position: relative;
}

.feature-list {
    list-style-type: none;
    padding: 0;
    margin-bottom: 2rem;
    position: relative;
}

.feature-list li {
    margin-bottom: 0.5rem;
}

.pricing-note {
    text-align: center;
    margin-top: 3rem;
    font-style: italic;
    font-size: 1.1rem;
}

/* TESTIMONIAL SECTION */

.testimonials {
    background: linear-gradient(135deg, var(--primary-colour), var(--secondary-colour));
    color: white;
    padding: 6rem 0;
    text-align: center;
    clip-path: polygon(0 10%, 100% 0, 100% 90%, 0 100%);
}
.testimonial-carousel {
    position: relative;
    height: 250px;
    overflow: hidden;
}
.testimonial-card {
    background-color: rgba(255,255,255,0.1);
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
    backdrop-filter: blur(5px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(100%);
}
.testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s ease;
}
.testimonial-card.active:hover {
    transform: translateY(-5px) rotate(-1deg);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}
.testimonial-card.previous {
    transform: translateX(-100%);
}
.carousel-controls {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}
.carousel-controls button {
    background-color: rgba(255,255,255,0.1);
    color: white;
    border: none;
    padding: 10px 15px;
    margin: 0 10px;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.carousel-controls button:hover {
    background-color: rgba(255, 255, 255, 0.422);
}

/* CONTACT SECTION */


.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;  /* Explicitly remove focus outline */
    box-shadow: none;  /* Remove any focus shadow */
}

.form-group {
    background: none;  /* Ensure no background */
    border: none;     /* Ensure no border */
}

.form-group label {
    font-weight: normal;  /* Reset font weight */
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}
.contact-form .btn,
.contact .btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    margin-top: 1rem;
    cursor: pointer;
    border: none;
    background-color: var(--accent-colour);
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}
.contact-form .btn:hover,
.contact .btn:hover {
    background-color: #006666;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.form-group select {
    background-color: transparent;
    border: none;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
}

    input:-webkit-autofill,
    input:-webkit-autofill:hover,
    input:-webkit-autofill:focus,
    input:-webkit-autofill:active {
        -webkit-box-shadow: 0 0 0 30px white inset !important;
        -webkit-text-fill-color: var(--text-colour) !important;
    }

/* FOOTER SECTION */


footer {
    background-color: var(--primary-colour);
    color: white;
    text-align: center;
    padding: 2rem 0;
    font-style: italic;
}


/* PROCESS SECTION */

.process-section {
    background: linear-gradient(135deg, var(--primary-colour), var(--secondary-colour));
    padding: 4rem 1rem;
    transform: skewY(-3deg);
    margin: 6rem 0;
}

.process-container {
    max-width: 1200px;
    margin: 0 auto;
    transform: skewY(3deg);
}

.process-section h2 {
    text-align: center;
    color: white;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: bold;
}

.process-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1rem;
    align-items: flex-start;
}

.process-card {
    flex: 1;
    min-width: 300px;
    /* Ensure cards don't get too narrow */
    max-width: calc(33.333% - 1rem);
    height: 280px; /* Adjust this value to match your design needs */
}

.process-card {
    background: rgba(255, 255, 255, .2);
    backdrop-filter: blur(5px);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    padding-bottom: 25px;
}

.process-section .expanded-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding-top: 0; /* Use padding instead of margin */
    transition: max-height 0.3s ease, opacity 0.3s ease, padding-top 0.3s ease;
}

.process-card.expanded {
    height: auto;
}

.process-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.icon-wrapper {
    padding: 0.75rem;
    background-color: #f3e8ff;
    border-radius: 0.75rem;
    color: var(--primary-colour);
}

.card-header h3 {
    font-size: 1.25rem;
    font-weight: bold;
    color: white;
}

.duration {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary-colour);
    font-weight: 500;
    margin-bottom: 1rem;
}

.process-card p {
    color: #ffffff;
    margin-bottom: 1rem;
}


.process-section .expanded-content ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.process-section .expanded-content li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.process-section .expanded-content li::before {
    content: "\279C";
    color: var(--secondary-colour);
}

.learn-more {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-colour);
    font-weight: 500;
    cursor: pointer;

    position: absolute;
    bottom: 15px;
    left: 1.5rem;
    right: 1.5rem;
}

.learn-more svg {
    transition: transform 0.3s ease;
}

.process-card.expanded .learn-more svg {
    transform: rotate(90deg);
}

.process-card.expanded .expanded-content {
    max-height: 500px;
    opacity: 1;
    padding-top: 1rem; /* Use padding instead of margin */
}

.cta-container {
    text-align: center;
    margin-top: 3rem;
}

.process-section .cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: white;
    color: var(--primary-colour);
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.process-section .cta-button:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ABOUT SECTION */

/* About Section Tab Layout Styles */
.about-main {
    flex: 2;
}

.about-main h2 {
    color: var(--primary-colour);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    transform: skew(-5deg);
}

.about-text {
    display: flex;
    gap: 2rem;
}

/* Vertical Tab Navigation */
.tab-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 180px;
    position: sticky;
    top: 2rem;
}

.tab-button {
    background: none;
    border: none;
    padding: 1rem;
    font-size: 1rem;
    color: var(--text-colour);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    text-align: left;
    border-left: 2px solid transparent;
    opacity: 0.6;
}

.tab-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -2px;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-colour), var(--secondary-colour));
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.tab-button:hover {
    opacity: 0.8;
}

.tab-button.active {
    opacity: 1;
    font-weight: bold;
    padding-left: 1.5rem;
}

.tab-button.active::before {
    transform: scaleY(1);
}

/* Tab Content */
.tab-content {
    flex-grow: 1;
    position: relative;
    min-height: 300px;
}

.tab-pane {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.tab-pane.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
}

/* List Styling in Tabs */
.tab-pane ul {
    list-style: none;
    margin: 1rem 0;
}

.tab-pane li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.tab-pane li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-colour);
}



/* <<CONTACT SECTION>> */

/* Contact Section Styles */
.contact-section {
    padding: 6rem 0;
    background-color: var(--card-background);
    position: relative;
    overflow: hidden;
}

.contact-section .container {
    max-width: 600px;
    position: relative;
    z-index: 2;
}

/* Gradient Header Card */
.contact-header {
    background: linear-gradient(135deg, var(--primary-colour), var(--secondary-colour));
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    color: white;
    margin-bottom: 3rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.contact-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    transform: rotate(-2deg);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.contact-header p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Contact Actions */
.contact-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-button {
    position: relative;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.contact-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Tooltip */
.tooltip {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.contact-button:hover .tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.contact-button.copied .tooltip {
    background: var(--primary-colour);
}

/* Form Styles */
.contact-form {
    padding: 2rem 0;
}

.form-group {
    position: relative;
    margin-bottom: 2.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 0;  /* Remove horizontal padding */
    border: none;
    background: none;
    color: var(--text-colour);
    font-size: 1rem;
    outline: none;  /* This removes the focus outline */
    font-family: inherit;
    -webkit-appearance: none;  /* Remove iOS default styling */
    -moz-appearance: none;
    appearance: none;
}

.form-group textarea {
    resize: none;
    min-height: 120px;
}

.form-group label {
    position: absolute;
    left: 0;
    top: 0.8rem;
    color: #666;
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.3s ease;
}

.line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(0,0,0,0.1);
}

.line::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, var(--primary-colour), var(--secondary-colour));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

/* Form Active States */
.form-group input:focus ~ label,
.form-group select:focus ~ label,
.form-group textarea:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group select:valid ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -1.2rem;
    font-size: 0.8rem;
    color: var(--primary-colour);
    font-weight: bold;
}

.form-group input:focus ~ .line::after,
.form-group select:focus ~ .line::after,
.form-group textarea:focus ~ .line::after {
    transform: scaleX(1);
}

/* Select Styling */
.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23666666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 1.5rem;
    padding-right: 2rem;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary-colour), var(--secondary-colour));
    border: none;
    border-radius: 50px;
    color: white;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Success/Error Messages */
.success-message {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    margin-top: 1rem;
    animation: slideIn 0.3s ease;
}

.error-message {
    color: #ff3e3e;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    position: absolute;
    bottom: -1.5rem;
    left: 0;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}    

@keyframes fadeInOut {
    0% { opacity: 0; transform: translate(-50%, 20px); }
    15% { opacity: 1; transform: translate(-50%, 0); }
    85% { opacity: 1; transform: translate(-50%, 0); }
    100% { opacity: 0; transform: translate(-50%, -20px); }
}



/* MOBILE STYLES */

@media (max-width: 1024px) {
    .process-card {
        max-width: calc(50% - 0.75rem);
    }
}

@media (max-width: 992px) {
    .service-card {
        flex: 0 1 100%;
    }

    /* ABOUT SECTION */

    
    .about-text {
        flex-direction: column;
    }

    .tab-nav {
        flex-direction: row;
        position: relative;
        top: 0;
        min-width: 0;
        margin-bottom: 2rem;
    }

    .tab-button {
        flex: 1;
        text-align: center;
        border-left: none;
        border-bottom: 2px solid transparent;
    }

    .tab-button::before {
        left: 0;
        bottom: -2px;
        top: auto;
        width: 100%;
        height: 2px;
        transform: scaleX(0);
        background: linear-gradient(to right, var(--primary-colour), var(--secondary-colour));
    }

    .tab-button.active {
        padding-left: 1rem;
    }

    .tab-button.active::before {
        transform: scaleX(1);
    }

    .tab-content {
        width: 100%;
    }

    .tab-pane {
        width: 100%;
    }
}


@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }
    nav {
        display: none;
        width: 100%;
    }
    nav.active {
        display: block;
    }
    nav ul {
        flex-direction: column;
        margin-top: 1rem;
    }
    nav ul li {
        margin: 0.5rem 0;
    }
    .burger-menu {
        display: block;
        position: absolute;
        top: 1rem;
        right: 1rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .services.container {
        padding: 0;
    }

    .service-card {
        margin: 1rem 0;
    }
    .service-card:hover {
        transform: none;
    }

/* MOBILE PROCESS SECTION */
    .process-section {
        transform: none;
        margin: 2rem 0;
    }

    .process-container {
        transform: none;
    }

    .process-card {
        flex: 1 1 100%;
        max-width: 100%;
        margin: 0.5rem 0;
        height: 320px;
        
    }

/* MOBILE ABOUT SECTION */

    .about-content {
        flex-direction: column;
        
    }

    .cta-button, .learn-more-link {
        display: block;
        margin: 1rem 0;
        text-align: center;
    }

/* MOBILE TESTIMONIAL SECTION */

    .testimonial-carousel {
        height: auto;
        min-height: 410px;
    }

    .testimonials .container {
        padding: 0;
    }
    .contact-form {
        padding: 2rem;
    }
    .service-card.expanded {
        height: auto;
    }
    .service-card.expanded .expanded-content {
        max-height: none;
    }

/* MOBILE PRICING SECTION */

    .pricing-grid {
        flex-direction: column;
        align-items: center;
    }
    .pricing-item {
        width: 100%;
        max-width: none;
    }

    /* MOBILE ABOUT SECTION */

    .about-image {
        position: relative;
        top: 0;
        margin: 0 auto;
        max-width: 300px;
    }

    .tab-nav {
        flex-direction: column;
        width: 100%;
    }

    .tab-button {
        width: 100%;
        text-align: left;
    }

    .about-main {
        width: 100%;
    }

    .tab-content {
        padding: 0 1rem;
        min-height: auto;
        position: static;
    }

    .tab-pane {
        position: relative;
        display: none;
    }
    
    .tab-pane.active {
        display: block;
    }

    /* <<MOBILE CONTACT SECTION>> */
    .contact-section {
        padding: none;
    }

    .contact-header {
        padding: 2rem 1rem;
    }

    .contact-header h2 {
        font-size: 2.5rem;
    }

    .contact-actions {
        flex-direction: column;
    }

    .contact-button {
        width: 100%;
        justify-content: center;
    }

    .contact-button .tooltip {
        display: none;
    }

    .copy-notification {
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(0, 0, 0, 0.8);
        color: white;
        padding: 12px 24px;
        border-radius: 50px;
        font-size: 0.9rem;
        z-index: 1000;
        animation: fadeInOut 2s ease forwards;
    }
}
