/* 
* IdealystiC Website Styles
* Enhanced for Multi-Resolution Support (4K to 720p)
*/

/* ===== Base Styles ===== */
:root {
    /* Enhanced Color Palette */
    --primary-color: #3F51B5; /* Deeper indigo blue */
    --primary-dark: #303F9F;
    --primary-light: #7986CB;
    --secondary-color: #00BCD4; /* Brighter teal */
    --secondary-dark: #0097A7;
    --secondary-light: #4DD0E1;
    --accent-color: #FF5252; /* Vibrant red accent */
    --accent-dark: #D32F2F;
    --accent-light: #FF8A80;
    --success-color: #4CAF50; /* Success green */
    --warning-color: #FFC107; /* Warning amber */
    --info-color: #2196F3; /* Info blue */
    --text-dark: #212121;
    --text-medium: #424242;
    --text-light: #757575;
    --white: #FFFFFF;
    --off-white: #F5F5F5;
    --light-gray: #EEEEEE;
    --medium-gray: #BDBDBD;
    --dark-gray: #424242;
    
    /* RGB versions for transparency */
    --primary-rgb: 63, 81, 181;
    --secondary-rgb: 0, 188, 212;
    --accent-rgb: 255, 82, 82;
    
    /* Typography */
    --heading-font: 'Montserrat', sans-serif;
    --body-font: 'Poppins', sans-serif;
    
    /* Spacing */
    --section-spacing: 100px;
    --container-padding: 20px;
    
    /* Animations */
    --transition-fast: 0.3s;
    --transition-medium: 0.5s;
    --transition-slow: 0.8s;
    
    /* Responsive Scaling Variables */
    --icon-scale-base: 1;
    --icon-scale-large: 1.2;
    --icon-scale-xl: 1.4;
    --icon-scale-2xl: 1.6;
    --icon-scale-3xl: 1.8;
    --icon-scale-4xl: 2;
    
    /* Font Scaling */
    --font-scale-base: 1;
    --font-scale-large: 1.1;
    --font-scale-xl: 1.2;
    --font-scale-2xl: 1.3;
    --font-scale-3xl: 1.4;
    --font-scale-4xl: 1.5;
}

/* High DPI Display Support */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    :root {
        --icon-scale-base: 1.1;
        --icon-scale-large: 1.3;
        --icon-scale-xl: 1.5;
        --icon-scale-2xl: 1.7;
        --icon-scale-3xl: 1.9;
        --icon-scale-4xl: 2.1;
    }
}

/* Ultra High DPI Display Support (4K, 5K) */
@media (-webkit-min-device-pixel-ratio: 3), (min-resolution: 288dpi) {
    :root {
        --icon-scale-base: 1.2;
        --icon-scale-large: 1.4;
        --icon-scale-xl: 1.6;
        --icon-scale-2xl: 1.8;
        --icon-scale-3xl: 2;
        --icon-scale-4xl: 2.2;
    }
}

/* 4K Resolution Support */
@media screen and (min-width: 2560px) {
    :root {
        --section-spacing: 120px;
        --container-padding: 30px;
        --font-scale-base: 1.2;
        --font-scale-large: 1.3;
        --font-scale-xl: 1.4;
        --font-scale-2xl: 1.5;
        --font-scale-3xl: 1.6;
        --font-scale-4xl: 1.7;
    }
    
    body {
        font-size: 18px;
    }
    
    h1 {
        font-size: 4.2rem;
    }
    
    h2 {
        font-size: 3rem;
    }
    
    h3 {
        font-size: 2.1rem;
    }
    
    .container {
        max-width: 1400px;
    }
}

/* 2K Resolution Support */
@media screen and (min-width: 2048px) and (max-width: 2559px) {
    :root {
        --section-spacing: 110px;
        --container-padding: 25px;
        --font-scale-base: 1.1;
        --font-scale-large: 1.2;
        --font-scale-xl: 1.3;
        --font-scale-2xl: 1.4;
        --font-scale-3xl: 1.5;
        --font-scale-4xl: 1.6;
    }
    
    body {
        font-size: 17px;
    }
    
    h1 {
        font-size: 3.8rem;
    }
    
    h2 {
        font-size: 2.7rem;
    }
    
    h3 {
        font-size: 1.9rem;
    }
    
    .container {
        max-width: 1200px;
    }
}

/* Full HD Resolution Support */
@media screen and (min-width: 1920px) and (max-width: 2047px) {
    :root {
        --section-spacing: 105px;
        --container-padding: 22px;
    }
    
    .container {
        max-width: 1100px;
    }
}

/* HD Resolution Support */
@media screen and (min-width: 1366px) and (max-width: 1919px) {
    :root {
        --section-spacing: 100px;
        --container-padding: 20px;
    }
    
    .container {
        max-width: 1000px;
    }
}

/* Standard Desktop Support */
@media screen and (min-width: 1024px) and (max-width: 1365px) {
    :root {
        --section-spacing: 90px;
        --container-padding: 18px;
    }
    
    .container {
        max-width: 900px;
    }
}

/* Tablet Landscape Support */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    :root {
        --section-spacing: 80px;
        --container-padding: 16px;
        --font-scale-base: 0.95;
        --font-scale-large: 1;
        --font-scale-xl: 1.05;
        --font-scale-2xl: 1.1;
        --font-scale-3xl: 1.15;
        --font-scale-4xl: 1.2;
    }
    
    body {
        font-size: 15px;
    }
    
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    h3 {
        font-size: 1.6rem;
    }
}

/* Tablet Portrait Support */
@media screen and (min-width: 600px) and (max-width: 767px) {
    :root {
        --section-spacing: 70px;
        --container-padding: 15px;
        --font-scale-base: 0.9;
        --font-scale-large: 0.95;
        --font-scale-xl: 1;
        --font-scale-2xl: 1.05;
        --font-scale-3xl: 1.1;
        --font-scale-4xl: 1.15;
    }
    
    body {
        font-size: 14px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
}

/* Mobile Large Support */
@media screen and (min-width: 480px) and (max-width: 599px) {
    :root {
        --section-spacing: 60px;
        --container-padding: 12px;
        --font-scale-base: 0.85;
        --font-scale-large: 0.9;
        --font-scale-xl: 0.95;
        --font-scale-2xl: 1;
        --font-scale-3xl: 1.05;
        --font-scale-4xl: 1.1;
    }
    
    body {
        font-size: 13px;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
}

/* Mobile Small Support (720p and below) */
@media screen and (max-width: 479px) {
    :root {
        --section-spacing: 50px;
        --container-padding: 10px;
        --font-scale-base: 0.8;
        --font-scale-large: 0.85;
        --font-scale-xl: 0.9;
        --font-scale-2xl: 0.95;
        --font-scale-3xl: 1;
        --font-scale-4xl: 1.05;
    }
    
    body {
        font-size: 12px;
    }
    
    h1 {
        font-size: 1.9rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
}

/* Landscape Orientation Adjustments */
@media screen and (max-height: 500px) and (orientation: landscape) {
    :root {
        --section-spacing: 40px;
    }
    
    .hero-section {
        min-height: 60vh;
    }
    
    .page-hero {
        min-height: 50vh;
    }
}

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

html {
    scroll-behavior: smooth;
    /* Prevent horizontal scroll on high-res displays */
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--body-font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-medium);
    background-color: var(--white);
    overflow-x: hidden;
    /* Ensure consistent rendering across devices */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    /* Ensure text scaling works properly */
    font-size-adjust: 0.5;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 20px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

ul, ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: var(--section-spacing) 0;
}

.section-alt {
    background-color: var(--off-white);
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: all var(--transition-fast);
    cursor: pointer;
    border: none;
    font-family: var(--heading-font);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1.2px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%) skewX(-30deg);
    transition: all 0.6s ease;
    z-index: -1;
}

.btn:hover::before {
    transform: translateX(100%) skewX(-30deg);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(var(--primary-rgb), 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    position: relative;
    z-index: 1;
}

.btn-outline::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
    z-index: -1;
    border-radius: 50px;
}

.btn-outline:hover {
    color: var(--text-blue);
    font-weight: 600;
    border-color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

.btn-outline:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
    color: var(--white);
    box-shadow: 0 8px 25px rgba(var(--secondary-rgb), 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary-color) 100%);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(var(--secondary-rgb), 0.4);
}

.btn-large {
    padding: 16px 42px;
    font-size: 1rem;
    letter-spacing: 1.5px;
}

.btn-block {
    display: block;
    width: 100%;
}

/* ===== Header & Navigation ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.068);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    overflow: hidden;
    will-change: transform, padding, background-color;
}

.header-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.header-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.shape-1 {
    top: -20px;
    left: 10%;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, var(--primary-color) 0%, rgba(var(--primary-rgb), 0) 70%);
    animation: float 8s infinite alternate ease-in-out;
}

.shape-2 {
    bottom: -30px;
    right: 15%;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, var(--secondary-color) 0%, rgba(var(--secondary-rgb), 0) 70%);
    animation: float 12s infinite alternate-reverse ease-in-out;
}

.shape-3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, var(--accent-color) 0%, rgba(var(--accent-rgb), 0) 80%);
    opacity: 0.05;
    animation: pulse-slow 15s infinite;
}

@keyframes float {
    0% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.1);
    }
    100% {
        transform: translateY(0) scale(1);
    }
}

@keyframes pulse-slow {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.05;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0.02;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.05;
    }
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(var(--primary-rgb), 0.08);
    padding: 6px 0;
    transform: translateY(0);
}

.header.scrolled .logo-img {
    height: 55px;
    max-width: 220px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.header.scrolled .logo-text {
    font-size: 1.4rem;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.header.scrolled .nav-link {
    font-size: 0.85rem;
    padding: 6px 14px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.header.scrolled .btn {
    padding: 8px 20px;
    font-size: 0.8rem;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.header.scrolled .navbar::before,
.header.scrolled .navbar::after {
    opacity: 0.2;
    transform: scale(0.7);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Enhanced mobile responsiveness for scrolled header */
@media (max-width: 768px) {
    .header.scrolled {
        padding: 4px 0;
    }
    
    .header.scrolled .logo-img {
        height: 45px;
        max-width: 180px;
    }
    
    .header.scrolled .logo-text {
        font-size: 1.2rem;
    }
    
    .header.scrolled .nav-link {
        font-size: 0.8rem;
        padding: 4px 10px;
    }
    
    .header.scrolled .btn {
        padding: 6px 16px;
        font-size: 0.75rem;
    }
    
    /* Service cards mobile optimization */
    .services-cards {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 25px;
    }
    
    .service-card {
        padding: 16px;
        border-radius: 8px;
    }
    
    .service-icon {
        width: calc(45px * var(--icon-scale-large));
        height: calc(45px * var(--icon-scale-large));
        font-size: calc(1.2rem * var(--icon-scale-large));
        margin-bottom: 12px;
    }
    
    .service-title {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .service-description {
        font-size: 0.85rem;
        margin-bottom: 10px;
    }
    
    .service-link {
        font-size: 0.8rem;
    }
    
    /* Section header mobile optimization */
    .section-header {
        max-width: 600px;
        margin: 0 auto 30px;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }
    
    .section-title:after {
        width: 40px;
        height: 2px;
        bottom: -6px;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    .section-note {
        margin-top: 20px;
        padding: 0 5%;
        font-size: 0.85rem;
    }
}

.navbar {
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.navbar::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -30px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.2) 0%, rgba(var(--primary-rgb), 0) 70%);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.7;
    animation: pulse 8s infinite alternate;
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: -15px;
    right: -30px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(var(--secondary-rgb), 0.2) 0%, rgba(var(--secondary-rgb), 0) 70%);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.7;
    animation: pulse 8s infinite alternate-reverse;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 0.5;
    }
}

.logo {
    display: flex;
    align-items: center;
    z-index: 5;
    position: relative;
    transition: all var(--transition-medium);
}

/* Gradient line under logo removed as requested */

/* Logo accent removed as requested */

.logo-text {
    font-family: var(--heading-font);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    letter-spacing: 1px;
    text-shadow: 0px 0px 20px rgba(var(--primary-rgb), 0.3);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.logo-img {
    height: 80px;
    width: auto;
    max-width: 320px;
    display: block;
    filter: drop-shadow(0px 5px 10px rgba(0, 0, 0, 0.1));
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.logo:hover .logo-img {
    transform: translateY(-2px);
    filter: drop-shadow(0px 8px 15px rgba(0, 0, 0, 0.15));
}

.footer-title {
    font-family: var(--heading-font);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 5px;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    position: relative;
}

.nav-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -20px;
    width: calc(100% + 40px);
    height: calc(100% + 20px);
    background: linear-gradient(90deg, 
        rgba(var(--primary-rgb), 0.05) 0%, 
        rgba(var(--secondary-rgb), 0.05) 50%,
        rgba(var(--primary-rgb), 0.05) 100%);
    border-radius: 30px;
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.scrolled .nav-menu::before {
    opacity: 1;
}

.nav-item {
    margin: 0 15px;
    position: relative;
}

.nav-link {
    color: var(--white);
    font-weight: 500;
    padding: 8px 5px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    letter-spacing: 0.5px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.scrolled .nav-link {
    color: var(--text-dark);
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    transition: width var(--transition-fast);
    border-radius: 2px;
}

.nav-link:hover:after,
.nav-link.active:after {
    width: 70%;
}

.nav-icon {
    display: inline-block;
    margin-right: 6px;
    font-size: 10px;
    color: var(--secondary-color);
    opacity: 0;
    transform: scale(0);
    transition: all var(--transition-fast);
}

.nav-link:hover .nav-icon,
.nav-link.active .nav-icon {
    opacity: 1;
    transform: scale(1);
}

.nav-link .fas {
    margin-left: 5px;
    transition: transform var(--transition-fast);
}

.nav-link:hover .fas {
    transform: translateX(3px);
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
    transform: translateY(-2px);
}

.scrolled .nav-link:hover,
.scrolled .nav-link.active {
    color: var(--primary-color);
}

.nav-item:last-child {
    margin-left: 20px;
}

.nav-item .btn-primary {
    position: relative;
    padding: 12px 28px;
    border-radius: 30px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    overflow: hidden;
    transition: all var(--transition-medium);
    border: none;
    box-shadow: 0 6px 15px rgba(var(--primary-rgb), 0.2);
}

.nav-item .btn-primary::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    z-index: -1;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color), var(--secondary-color));
    background-size: 200% 200%;
    border-radius: 32px;
    opacity: 0;
    transition: all var(--transition-medium);
    animation: gradientBorder 3s ease infinite;
}

@keyframes gradientBorder {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.nav-item .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(var(--primary-rgb), 0.3);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
}

.nav-item .btn-primary:hover::before {
    opacity: 1;
}

.nav-item .btn-primary::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 100%;
    top: 0;
    left: -50px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: shine 6s infinite;
}

@keyframes shine {
    0% {
        left: -50px;
    }
    20% {
        left: 150%;
    }
    100% {
        left: 150%;
    }
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 10000; /* Higher than the menu */
    position: relative;
}

.nav-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--white);
    border-radius: 3px;
    transition: all var(--transition-fast);
}

.scrolled .nav-toggle span {
    background-color: var(--text-dark);
}

.nav-toggle.active span {
    background-color: var(--white);
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 991px) {
    .nav-toggle {
        display: flex;
    }
    
    /* Hide the original nav menu */
    .navbar .nav-menu {
        display: none;
    }
    
    /* Create a mobile menu overlay - hidden by default in desktop mode */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        right: -100%; /* Start off-screen to the right */
        width: 100%;
        height: 100vh;
        background: linear-gradient(135deg, rgba(48, 63, 159, 0.97) 0%, rgba(63, 81, 181, 0.97) 100%);
        z-index: 9999;
        display: none; /* Hidden in desktop mode */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 50px 20px;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1); /* Smooth easing function */
    }
    
    .mobile-menu-overlay.active {
        right: 0; /* Slide in from the right */
    }
    
    /* Add particles background to mobile menu */
    .mobile-menu-overlay::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
        background-size: 150px 150px;
        opacity: 0.3;
        z-index: -1;
    }
    
    .mobile-menu-items {
        list-style: none;
        padding: 0;
        margin: 0;
        width: 100%;
        max-width: 300px;
    }
    
    .mobile-menu-overlay .nav-item {
        margin: 10px 0;
        transform: translateX(30px);
        opacity: 0;
        transition: all 0.5s ease;
    }
    
    .mobile-menu-overlay.active .nav-item {
        transform: translateX(0);
        opacity: 1;
    }
    
    /* Staggered animation for menu items */
    .mobile-menu-overlay.active .nav-item:nth-child(1) { transition-delay: 0.1s; }
    .mobile-menu-overlay.active .nav-item:nth-child(2) { transition-delay: 0.2s; }
    .mobile-menu-overlay.active .nav-item:nth-child(3) { transition-delay: 0.3s; }
    .mobile-menu-overlay.active .nav-item:nth-child(4) { transition-delay: 0.4s; }
    .mobile-menu-overlay.active .nav-item:nth-child(5) { transition-delay: 0.5s; }
    
    .mobile-menu-overlay .nav-link {
        color: white;
        font-size: 1.3rem;
        font-weight: 600;
        padding: 12px 20px;
        display: block;
        text-align: center;
        position: relative;
        transition: all 0.3s ease;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        margin: 5px 0;
    }
    
    .mobile-menu-overlay .nav-link::after {
        content: '';
        position: absolute;
        bottom: 8px;
        left: 50%;
        width: 0;
        height: 2px;
        background: var(--secondary-color);
        transition: all 0.3s ease;
        transform: translateX(-50%);
    }
    
    .mobile-menu-overlay .nav-link:hover,
    .mobile-menu-overlay .nav-link.active {
        color: var(--secondary-color);
        background: rgba(255, 255, 255, 0.1);
    }
    
    .mobile-menu-overlay .nav-link:hover::after,
    .mobile-menu-overlay .nav-link.active::after {
        width: 30px;
    }
    
    .mobile-menu-overlay .nav-item:last-child {
        margin-top: 30px;
    }
    
    .mobile-menu-overlay .btn-primary {
        width: 100%;
        text-align: center;
        background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
        border: none;
        box-shadow: 0 5px 15px rgba(0, 188, 212, 0.3);
        transition: all 0.3s ease;
    }
    
    .mobile-menu-overlay .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(0, 188, 212, 0.4);
    }
    
    /* Close button for mobile menu */
    .mobile-menu-close {
        position: absolute;
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        cursor: pointer;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .mobile-menu-close:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: rotate(90deg);
    }
    
    .mobile-menu-close span {
        display: block;
        width: 20px;
        height: 2px;
        background-color: white;
        border-radius: 3px;
        position: absolute;
        top: 50%;
        left: 50%;
        margin-left: -10px;
    }
    
    .mobile-menu-close span:first-child {
        transform: translateY(-50%) rotate(45deg);
    }
    
    .mobile-menu-close span:last-child {
        transform: translateY(-50%) rotate(-45deg);
    }
}

/* ===== Hero Section ===== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 60%, var(--secondary-dark) 100%);
    color: var(--white);
    position: relative;
}

.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-bg-elements::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(63, 81, 181, 0.15) 0%, rgba(0, 188, 212, 0.08) 100%);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    z-index: -1;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    filter: blur(40px);
}

.hero-shape-1 {
    top: 15%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary-color) 0%, rgba(var(--primary-rgb), 0) 70%);
    /* Static position, no animation */
}

.hero-shape-2 {
    bottom: 10%;
    right: 5%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--secondary-color) 0%, rgba(var(--secondary-rgb), 0) 70%);
    /* Static position, no animation */
}

.hero-shape-3 {
    top: 40%;
    right: 15%;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, var(--accent-color) 0%, rgba(var(--accent-rgb), 0) 70%);
    /* Static position, no animation */
}

.hero-shape-4 {
    bottom: 30%;
    left: 15%;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, var(--info-color) 0%, rgba(33, 150, 243, 0) 70%);
    /* Static position, no animation */
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><polygon fill="rgba(255,255,255,0.05)" points="0,100 100,0 100,100"/></svg>');
    background-size: cover;
}

.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: var(--primary-dark);
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
    z-index: 2;
    position: relative;
    margin: 0 auto;
    width: 100%;
    animation: fadeIn 1s ease-out forwards;
}

.hero-title {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 4.2rem;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 100%;
}

.hero-subtitle {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.8;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 30px;
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.gradient-text-2 {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--info-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.gradient-text-3 {
    background: linear-gradient(135deg, var(--info-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
}

.hero-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all var(--transition-fast);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px 20px;
    width: 180px;
    height: 180px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin: 0 15px;
}

.hero-feature:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.feature-icon {
    width: calc(70px * var(--icon-scale-base));
    height: calc(70px * var(--icon-scale-base));
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    font-size: calc(1.8rem * var(--icon-scale-base));
    color: var(--white);
    transition: all var(--transition-medium);
}

.feature-text {
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 1px;
    margin-top: 5px;
}

.hero-feature:hover .feature-icon {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
}

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

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--white) 0%, rgba(255,255,255,0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    max-width: 700px;
    font-weight: 300;
    line-height: 1.6;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 15px;
}

.hero-subtitle:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 3px;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 40px;
    position: relative;
}

.hero-cta:before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.5) 50%, rgba(255,255,255,0) 100%);
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.scroll-down a {
    color: var(--white);
    font-size: 1.2rem;
    opacity: 0.8;
    transition: all var(--transition-fast);
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 12px 25px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.scroll-text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    font-weight: 500;
}

.scroll-down a:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

/* ===== Page Hero Section ===== */
.page-hero {
    position: relative;
    height: 50vh;
    min-height: 400px;
    padding-top: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 50%, var(--primary-light) 100%);
    color: var(--white);
    overflow: hidden;
    z-index: 1;
}

.page-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 50%, var(--primary-light) 100%);
    z-index: 1;
}

.page-hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.page-hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    text-align: center;
    padding: 0 20px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-hero-content h1 {
    color: var(--white);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
    position: relative;
    z-index: 3;
}

.page-hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 600px;
    line-height: 1.6;
    color: var(--white);
    position: relative;
    z-index: 3;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.95rem;
    opacity: 0.8;
    margin-top: 20px;
}

.breadcrumb a {
    color: var(--white);
    text-decoration: none;
    transition: all var(--transition-fast);
    padding: 5px 10px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.breadcrumb a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.breadcrumb-separator {
    color: var(--white);
    opacity: 0.6;
}

.breadcrumb span:last-child {
    color: var(--secondary-color);
    font-weight: 500;
}

.page-title {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* ===== Section Styling ===== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
}

.section-title {
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    font-size: 2.2rem;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* ===== Services Cards ===== */
.services-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.service-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    padding: 20px;
    transition: all var(--transition-medium);
    border-bottom: 2px solid transparent;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid var(--secondary-color);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: calc(50px * var(--icon-scale-large));
    height: calc(50px * var(--icon-scale-large));
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1) 0%, rgba(var(--secondary-rgb), 0.15) 100%);
    color: var(--primary-color);
    border-radius: calc(12px * var(--icon-scale-large));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: calc(1.3rem * var(--icon-scale-large));
    transition: all var(--transition-medium);
    box-shadow: 0 4px 12px rgba(var(--secondary-rgb), 0.12);
    position: relative;
    z-index: 1;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: calc(20px * var(--icon-scale-large));
    z-index: -1;
    opacity: 0;
    transition: all var(--transition-medium);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    transform: rotateY(360deg) scale(1.05);
    box-shadow: 0 10px 25px rgba(var(--primary-rgb), 0.4);
    color: var(--white);
    border-radius: calc(16px * var(--icon-scale-large));
}

.service-card:hover .service-icon::before {
    opacity: 1;
    transform: scale(1.1);
}

.service-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.service-description {
    margin-bottom: 12px;
    flex-grow: 1;
    font-size: 0.9rem;
    line-height: 1.4;
}

.service-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    font-size: 0.85rem;
}

.service-link i {
    margin-left: 5px;
    transition: transform var(--transition-fast);
}

.service-link:hover i {
    transform: translateX(5px);
}

.section-note {
    text-align: center;
    font-style: italic;
    margin-top: 25px;
    padding: 0 10%;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.4;
}

/* ===== Features Grid ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.feature-icon {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1) 0%, rgba(var(--secondary-rgb), 0.1) 100%);
    color: var(--primary-color);
    width: calc(60px * var(--icon-scale-base));
    height: calc(60px * var(--icon-scale-base));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: calc(1.5rem * var(--icon-scale-base));
    margin-right: 20px;
    flex-shrink: 0;
    transition: all var(--transition-medium);
    box-shadow: 0 3px 10px rgba(var(--primary-rgb), 0.1);
}

.feature-item:hover .feature-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    transform: rotateY(360deg);
    box-shadow: 0 5px 15px rgba(var(--secondary-rgb), 0.3);
}

.feature-content h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.feature-content p {
    margin-bottom: 0;
}

/* ===== Testimonials Slider ===== */
.testimonials-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 0;
}

.testimonial-card {
    background-color: var(--white);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    margin: 0 20px;
    position: relative;
    display: none;
    transition: all var(--transition-medium);
    opacity: 0;
    transform: translateX(30px);
}

.testimonial-card.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.testimonial-quote {
    font-size: 2.5rem;
    color: var(--primary-light);
    position: absolute;
    top: 20px;
    left: 30px;
    opacity: 0.2;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 25px;
    padding-left: 20px;
}

.testimonial-author h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.testimonial-author p {
    margin-bottom: 0;
    font-size: 0.9rem;
    font-style: italic;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.testimonial-prev,
.testimonial-next {
    background-color: transparent;
    border: none;
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    padding: 10px;
}

.testimonial-prev:hover,
.testimonial-next:hover {
    color: var(--secondary-color);
}

.testimonial-indicators {
    display: flex;
    gap: 10px;
    margin: 0 20px;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--medium-gray);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.indicator.active {
    background-color: var(--primary-color);
    transform: scale(1.3);
}

/* ===== CTA Section ===== */
.cta-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    z-index: -1;
}

.cta-background:before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    animation: backgroundScroll 60s linear infinite;
}

@keyframes backgroundScroll {
    0% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }
    100% {
        transform: translate3d(-700px, -350px, 0) rotate(25deg);
    }
}

.cta-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 2.8rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Social Media Section ===== */
.social-media-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.social-media-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 60 60"><circle cx="30" cy="30" r="2" fill="rgba(63,81,181,0.1)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.social-media-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.social-media-content h2 {
    color: var(--text-dark);
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.social-media-content p {
    color: var(--text-medium);
    font-size: 1.1rem;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.social-links-large {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.social-link-large {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 30px 25px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s ease;
    min-width: 140px;
    position: relative;
    overflow: hidden;
}

.social-link-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.social-link-large:hover::before {
    transform: scaleX(1);
}

.social-link-large:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.social-link-large i {
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.social-link-large:hover i {
    transform: scale(1.1);
}

.social-link-large span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
}

/* Social Media Platform Specific Colors */
.social-link-large[href*="linkedin"]:hover i {
    color: #0077b5;
}

.social-link-large[href*="x.com"]:hover i {
    color: #000000;
}

.social-link-large[href*="facebook"]:hover i {
    color: #1877f2;
}

.social-link-large[href*="instagram"]:hover i {
    color: #e4405f;
}

/* ===== Contact Section ===== */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.contact-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(var(--secondary-rgb), 0.1) 0%, rgba(var(--secondary-rgb), 0) 70%);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.8;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 20px;
    margin-top: 5px;
}

.info-item h3 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    position: relative;
    z-index: 10;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 1rem;
    transition: all var(--transition-fast);
    position: relative;
    z-index: 10;
    text-decoration: none;
}

.social-link:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

.contact-form {
    background-color: var(--white);
    padding: 45px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(var(--primary-rgb), 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.05);
    position: relative;
    overflow: hidden;
}

.contact-form::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px 18px;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    font-family: var(--body-font);
    font-size: 1rem;
    transition: all var(--transition-fast);
    background-color: var(--off-white);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(var(--secondary-rgb), 0.1);
    background-color: var(--white);
}

/* ===== Footer ===== */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: var(--white);
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect x="0" y="0" width="50" height="50" fill="rgba(255,255,255,0.03)"/></svg>');
    opacity: 0.5;
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 60px;
    position: relative;
}

.footer-content::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}

.footer-logo {
    display: flex;
    flex-direction: column;
}

.footer-logo .logo-text {
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    max-width: 200px;
    margin-bottom: 15px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: all var(--transition-fast);
}

.footer-logo-img:hover {
    opacity: 1;
    transform: scale(1.05);
    filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(0, 188, 212, 0.8)) drop-shadow(0 0 20px rgba(0, 188, 212, 0.6));
}

.footer-logo p {
    opacity: 0.7;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
    z-index: 1;
}

.footer-links::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(var(--secondary-rgb), 0.05) 0%, rgba(var(--secondary-rgb), 0) 70%);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.5;
    pointer-events: none;
}

.footer-column h3 {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 20px;
    padding-bottom: 12px;
    letter-spacing: 0.5px;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--secondary-light));
    border-radius: 3px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

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

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    margin-bottom: 0;
    opacity: 0.7;
    font-size: 0.9rem;
}

/* ===== About Page Styles ===== */
/* Who We Are Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    margin-bottom: 40px;
}

.about-content::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -100px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.05) 0%, rgba(var(--primary-rgb), 0) 70%);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.6;
}

.about-text {
    position: relative;
    z-index: 1;
}

.about-text p {
    margin-bottom: 25px;
    line-height: 1.8;
    font-size: 1.05rem;
    color: var(--text-medium);
}

.about-text p:first-of-type {
    font-size: 1.15rem;
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    padding-left: 20px;
    border-left: 3px solid var(--primary-color);
}

.about-image {
    position: relative;
    z-index: 1;
}

.image-container {
    max-width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(var(--primary-rgb), 0.15);
    transform: perspective(1000px) rotateY(-5deg);
    transition: all var(--transition-medium);
}

.image-container:hover {
    transform: perspective(1000px) rotateY(0deg);
    box-shadow: 0 25px 50px rgba(var(--primary-rgb), 0.2);
}

/* Mission and Vision Section */
.mission-vision-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.mission-vision-container::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(var(--secondary-rgb), 0.05) 0%, rgba(var(--secondary-rgb), 0) 70%);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.7;
}

.mission-box,
.vision-box {
    background-color: var(--white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(var(--primary-rgb), 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.mission-box::before,
.vision-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    z-index: 1;
}

.mission-box::before {
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
}

.vision-box::before {
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
}

.mission-box:hover,
.vision-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 45px rgba(var(--primary-rgb), 0.1);
}

.mission-icon,
.vision-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 2rem;
    border-radius: 20px;
    transition: all var(--transition-medium);
    position: relative;
}

.mission-icon {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1) 0%, rgba(var(--primary-rgb), 0.2) 100%);
    color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.1);
}

.vision-icon {
    background: linear-gradient(135deg, rgba(var(--secondary-rgb), 0.1) 0%, rgba(var(--secondary-rgb), 0.2) 100%);
    color: var(--secondary-color);
    box-shadow: 0 10px 20px rgba(var(--secondary-rgb), 0.1);
}

.mission-box:hover .mission-icon,
.vision-box:hover .vision-icon {
    transform: rotateY(360deg);
}

.mission-box:hover .mission-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--white);
    box-shadow: 0 15px 30px rgba(var(--primary-rgb), 0.2);
}

.vision-box:hover .vision-icon {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--white);
    box-shadow: 0 15px 30px rgba(var(--secondary-rgb), 0.2);
}

.mission-box h2,
.vision-box h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text-dark);
    position: relative;
    display: inline-block;
}

.mission-box h2::after,
.vision-box h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 3px;
    border-radius: 3px;
}

.mission-box h2::after {
    background: var(--primary-color);
}

.vision-box h2::after {
    background: var(--secondary-color);
}

.mission-box p,
.vision-box p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: var(--text-medium);
}

.mission-box p:last-child,
.vision-box p:last-child {
    margin-bottom: 0;
    font-style: italic;
    color: var(--text-dark);
}

/* Values Section */
.values-container {
    max-width: 1100px;
    margin: 0 auto;
}

.values-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-dark);
    padding: 0 20px;
    position: relative;
}

.values-intro::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

.values-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
}

.value-item {
    background-color: var(--white);
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-medium);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    border: 1px solid rgba(var(--primary-rgb), 0.05);
    overflow: hidden;
}

.value-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    transition: height 0.5s ease;
}

.value-item:hover::before {
    height: 100%;
}

.value-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(var(--primary-rgb), 0.1);
    border-color: rgba(var(--secondary-rgb), 0.2);
}

.value-icon {
    width: calc(80px * var(--icon-scale-large));
    height: calc(80px * var(--icon-scale-large));
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1) 0%, rgba(var(--secondary-rgb), 0.15) 100%);
    color: var(--primary-color);
    border-radius: calc(20px * var(--icon-scale-large));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: calc(2rem * var(--icon-scale-large));
    transition: all var(--transition-medium);
    box-shadow: 0 8px 20px rgba(var(--secondary-rgb), 0.1);
    position: relative;
    z-index: 1;
}

.value-item:hover .value-icon {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--white);
    transform: rotateY(360deg) scale(1.05);
    box-shadow: 0 10px 25px rgba(var(--primary-rgb), 0.2);
    border-radius: calc(16px * var(--icon-scale-large));
}

.value-content {
    text-align: center;
    z-index: 1;
}

.value-content h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    color: var(--primary-color);
    transition: all var(--transition-fast);
}

.value-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-medium);
}

.value-item:hover .value-content h3 {
    color: var(--primary-dark);
}

/* Story Section */
.story-container {
    max-width: 1100px;
    margin: 0 auto;
}

.story-intro {
    text-align: center;
    margin-bottom: 50px;
}

.quote-block {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 30px 50px;
    background-color: rgba(var(--primary-rgb), 0.03);
    border-radius: 12px;
    border-left: 5px solid var(--primary-color);
}

.quote-icon {
    position: absolute;
    top: -15px;
    left: 20px;
    font-size: calc(2.5rem * var(--icon-scale-base));
    color: var(--primary-color);
    opacity: 0.2;
}

.quote-block blockquote {
    font-family: var(--heading-font);
    font-size: 1.4rem;
    font-weight: 500;
    font-style: italic;
    color: var(--primary-dark);
    line-height: 1.5;
    margin: 0;
}

.story-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: start;
    margin-top: 40px;
}

.story-text {
    position: relative;
}

.story-subtitle {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.story-subtitle::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 3px;
}

.story-text p {
    margin-bottom: 25px;
    line-height: 1.7;
    font-size: 1.05rem;
    color: var(--text-medium);
}

.story-text strong {
    color: var(--primary-dark);
    font-weight: 600;
}

.story-highlight {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.05) 0%, rgba(var(--secondary-rgb), 0.1) 100%);
    border-radius: 12px;
    padding: 25px 30px;
    margin: 30px 0;
    border-left: 4px solid var(--primary-color);
    position: relative;
}

.story-highlight p {
    margin-bottom: 0;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-dark);
}

.story-list {
    margin: 25px 0 35px;
    padding-left: 0;
    list-style: none;
}

.story-list li {
    position: relative;
    padding-left: 40px;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
}

.bullet-point {
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.list-content {
    flex: 1;
    line-height: 1.6;
}

.story-timeline {
    position: relative;
}

.story-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10px;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    opacity: 0.3;
    z-index: 0;
}

.timeline-dot {
    position: absolute;
    left: 0;
    top: 5px;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 0 5px rgba(var(--primary-rgb), 0.1);
    animation: pulse 2s infinite;
}

.timeline-item {
    position: relative;
    padding-left: 35px;
    margin-bottom: 50px;
    z-index: 1;
}

.timeline-item:before {
    content: '';
    position: absolute;
    left: 8px;
    top: 25px;
    bottom: -25px;
    width: 2px;
    background-color: rgba(74, 84, 175, 0.3);
}

.timeline-item:last-child:before {
    display: none;
}

.timeline-content h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 600;
}

.timeline-content p {
    color: var(--text-medium);
    line-height: 1.5;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.team-member {
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    transition: all var(--transition-medium);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.member-photo {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all var(--transition-medium);
}

.team-member:hover .member-photo img {
    transform: scale(1.1);
}

.member-photo svg {
    width: 100%;
    height: 100%;
}

.member-info {
    padding: 25px;
}

.member-info h3 {
    margin-bottom: 5px;
}

.member-title {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.member-bio {
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.member-social {
    display: flex;
    gap: 10px;
}

.member-social .social-link {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
}

/* ===== Services Page Styles ===== */
.services-overview {
    text-align: center;
    max-width: 1100px;
    margin: 0 auto 60px;
    position: relative;
}

.services-overview::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.03) 0%, rgba(var(--primary-rgb), 0) 70%);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.8;
}

.services-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.service-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px;
    min-width: 200px;
    background-color: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-medium);
    border: 1px solid rgba(var(--primary-rgb), 0.05);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.service-nav-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
}

.service-nav-item:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.service-nav-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(var(--primary-rgb), 0.1);
    border-color: rgba(var(--secondary-rgb), 0.2);
}

.service-nav-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1) 0%, rgba(var(--secondary-rgb), 0.15) 100%);
    color: var(--primary-color);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.8rem;
    transition: all var(--transition-medium);
    box-shadow: 0 8px 20px rgba(var(--secondary-rgb), 0.1);
}

.service-nav-item:hover .service-nav-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    transform: rotateY(360deg);
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(var(--primary-rgb), 0.2);
}

.service-nav-item span {
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-top: 10px;
    transition: all var(--transition-fast);
}

.service-nav-item:hover span,
.service-nav-item.active span {
    color: var(--primary-color);
}

.service-nav-item.active {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(var(--primary-rgb), 0.1);
    border-color: rgba(var(--secondary-rgb), 0.2);
}

.service-nav-item.active .service-nav-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    border-radius: 16px;
}

.service-detail {
    padding-top: 100px;
    margin-top: -50px;
    position: relative;
    overflow: hidden;
}

.service-detail::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(var(--secondary-rgb), 0.05) 0%, rgba(var(--secondary-rgb), 0) 70%);
    border-radius: 50%;
    z-index: 0;
    opacity: 0.7;
}

.service-detail::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.05) 0%, rgba(var(--primary-rgb), 0) 70%);
    border-radius: 50%;
    z-index: 0;
    opacity: 0.7;
}

.service-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.service-header .service-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 30px;
    font-size: 2.5rem;
    flex-shrink: 0;
    box-shadow: 0 10px 25px rgba(var(--primary-rgb), 0.2);
    position: relative;
    overflow: hidden;
}

.service-header .service-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: skewX(-20deg) translateX(-100%);
    transition: all 0.6s ease;
}

.service-header .service-icon:hover::before {
    transform: skewX(-20deg) translateX(100%);
}

.service-title-container {
    flex: 1;
}

.service-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.service-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 3px;
}

.service-subtitle {
    font-size: 1.3rem;
    color: var(--text-medium);
    font-weight: 500;
    margin-bottom: 15px;
}

.service-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-medium);
    max-width: 800px;
    margin: 0 auto 60px;
}

.service-tagline {
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 20px;
}

.offerings-title {
    font-size: 1.8rem;
    margin-bottom: 40px;
    color: var(--text-dark);
    text-align: center;
    position: relative;
    display: inline-block;
}

.offerings-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, rgba(var(--primary-rgb), 0.1), rgba(var(--secondary-rgb), 0.3), rgba(var(--primary-rgb), 0.1));
    border-radius: 2px;
}

.offerings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.offering-item {
    background-color: var(--white);
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-medium);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid rgba(var(--primary-rgb), 0.05);
    overflow: hidden;
}

.offering-item::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, transparent 50%, rgba(var(--secondary-rgb), 0.05) 50%);
    border-radius: 0 0 0 100px;
    z-index: 0;
}

.offering-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(var(--primary-rgb), 0.1);
    border-color: rgba(var(--secondary-rgb), 0.2);
}

.offering-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1) 0%, rgba(var(--secondary-rgb), 0.15) 100%);
    color: var(--primary-color);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.8rem;
    transition: all var(--transition-medium);
    box-shadow: 0 8px 20px rgba(var(--secondary-rgb), 0.1);
    position: relative;
    z-index: 1;
}

.offering-item:hover .offering-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    transform: rotateY(360deg);
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(var(--primary-rgb), 0.2);
}

.offering-item h4 {
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: var(--text-dark);
    transition: all var(--transition-fast);
    position: relative;
    z-index: 1;
}

.offering-item:hover h4 {
    color: var(--primary-color);
}

.offering-item p {
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-medium);
    position: relative;
    z-index: 1;
}

.service-conclusion {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.03) 0%, rgba(var(--secondary-rgb), 0.05) 100%);
    border-radius: 16px;
    position: relative;
}

.service-conclusion::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><circle cx="10" cy="10" r="1" fill="rgba(74, 84, 175, 0.1)"/></svg>');
    opacity: 0.5;
    z-index: -1;
}

.service-conclusion p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: var(--text-dark);
    font-weight: 500;
}

/* Section Styles */
.section {
    padding: 90px 0;
    position: relative;
}

.section-alt {
    background-color: var(--off-white);
    position: relative;
    overflow: hidden;
}

.section-alt::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.03) 0%, rgba(var(--primary-rgb), 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.section-alt::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(var(--secondary-rgb), 0.03) 0%, rgba(var(--secondary-rgb), 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-medium);
    max-width: 700px;
    margin: 0 auto;
    font-weight: 500;
}

/* Feature Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    position: relative;
    transition: all var(--transition-medium);
    padding: 20px;
    border-radius: 16px;
}

.feature-item:hover {
    transform: translateY(-5px);
    background: rgba(var(--primary-rgb), 0.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.feature-icon {
    width: calc(60px * var(--icon-scale-base));
    height: calc(60px * var(--icon-scale-base));
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1) 0%, rgba(var(--secondary-rgb), 0.15) 100%);
    color: var(--primary-color);
    border-radius: calc(16px * var(--icon-scale-base));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: calc(1.5rem * var(--icon-scale-base));
    transition: all var(--transition-medium);
    flex-shrink: 0;
}

.feature-item:hover .feature-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    transform: rotateY(360deg);
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.15);
}

.feature-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-dark);
    transition: all var(--transition-fast);
}

.feature-item:hover .feature-content h3 {
    color: var(--primary-color);
}

.feature-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-medium);
    margin-bottom: 0;
}

/* ===== Animation Effects ===== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.2);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 10px 25px rgba(var(--primary-rgb), 0.3);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.2);
    }
}

.animate-pulse {
    animation: pulse 2s infinite;
}

/* ===== Responsive Styles ===== */
/* Fix for duplicate buttons */
body > .get-started,
body > ul,
body > li {
    display: none !important;
}

@media (max-width: 1200px) {
    h1 {
        font-size: 3rem;
    }
    .hero-title {
        font-size: 3.5rem;
    }
    .page-title {
        font-size: 3rem;
    }
    .cta-content h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    :root {
        --section-spacing: 80px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 2rem;
    }
    .hero-title {
        font-size: 3rem;
    }
    .page-title {
        font-size: 2.5rem;
    }
    .cta-content h2 {
        font-size: 2.2rem;
    }
    
    .about-content, 
    .story-content,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image {
        order: -1;
    }
    
    .mission-vision-container {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-spacing: 60px;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .social-media-content h2 {
        font-size: 2rem;
    }
    
    .social-links-large {
        gap: 20px;
    }
    
    .social-link-large {
        min-width: 120px;
        padding: 25px 20px;
    }
    
    .social-link-large i {
        font-size: 2rem;
    }
    
    .mission-vision-container {
        grid-template-columns: 1fr;
    }
    
    .service-header {
        flex-direction: column;
        text-align: center;
    }
    
    .service-header .service-icon {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .values-grid {
        flex-wrap: wrap;
    }
    
    .value-item {
        flex: 0 0 100%;
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    :root {
        --container-padding: 15px;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    h2 {
        font-size: 1.8rem;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .page-title {
        font-size: 2.2rem;
    }
    .hero-subtitle, 
    .page-subtitle {
        font-size: 1rem;
    }
    .section-subtitle {
        font-size: 1rem;
    }
    .cta-content h2 {
        font-size: 1.8rem;
    }
    .cta-content p {
        font-size: 1rem;
    }
    
    .social-media-content h2 {
        font-size: 1.8rem;
    }
    
    .social-links-large {
        gap: 15px;
    }
    
    .social-link-large {
        min-width: 100px;
        padding: 20px 15px;
    }
    
    .social-link-large i {
        font-size: 1.8rem;
    }
    
    .social-link-large span {
        font-size: 0.9rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        padding: 25px;
    }
}

/* ===== Legal Pages Styles ===== */
.legal-content {
    padding: var(--section-spacing) 0;
    background-color: var(--off-white);
}

.legal-wrapper {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.legal-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.legal-nav h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-weight: 600;
}

.legal-nav ul {
    list-style: none;
    padding: 0;
}

.legal-nav li {
    margin-bottom: 10px;
}

.legal-nav a {
    color: var(--text-medium);
    text-decoration: none;
    font-size: 0.95rem;
    padding: 8px 0;
    display: block;
    border-left: 3px solid transparent;
    padding-left: 15px;
    transition: all var(--transition-fast);
}

.legal-nav a:hover {
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    background-color: rgba(63, 81, 181, 0.05);
}

.legal-main {
    background-color: var(--white);
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.legal-section {
    margin-bottom: 50px;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--light-gray);
}

.legal-section h3 {
    color: var(--text-dark);
    font-size: 1.3rem;
    margin: 30px 0 15px 0;
}

.legal-section h4 {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin: 25px 0 10px 0;
}

.legal-section p {
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 15px;
}

.legal-section ul {
    margin: 15px 0;
    padding-left: 20px;
}

.legal-section li {
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 8px;
}

.legal-section strong {
    color: var(--text-dark);
    font-weight: 600;
}

.legal-section a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.legal-section a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.contact-info {
    background-color: var(--off-white);
    padding: 25px;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 4px solid var(--primary-color);
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

.cookie-table {
    margin: 20px 0;
    overflow-x: auto;
}

.cookie-table table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.cookie-table th {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
}

.cookie-table td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--light-gray);
    color: var(--text-medium);
    font-size: 0.9rem;
}

.cookie-table tr:last-child td {
    border-bottom: none;
}

.cookie-table tr:hover {
    background-color: var(--off-white);
}

.browser-instructions {
    background-color: var(--off-white);
    padding: 25px;
    border-radius: 8px;
    margin: 20px 0;
}

.browser-instructions h4 {
    color: var(--primary-color);
    margin: 20px 0 10px 0;
    font-size: 1rem;
}

.browser-instructions h4:first-child {
    margin-top: 0;
}

.browser-instructions p {
    margin-bottom: 15px;
    font-family: 'Courier New', monospace;
    background-color: var(--white);
    padding: 8px 12px;
    border-radius: 4px;
    border-left: 3px solid var(--primary-color);
}

/* Responsive Design for Legal Pages */
@media (max-width: 1024px) {
    .legal-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .legal-sidebar {
        position: static;
        order: 2;
    }
    
    .legal-nav {
        background-color: var(--white);
        padding: 25px;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .legal-nav ul {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 10px;
    }
    
    .legal-nav a {
        border-left: none;
        border-bottom: 2px solid transparent;
        padding-left: 0;
        padding-bottom: 8px;
    }
    
    .legal-nav a:hover {
        border-left-color: transparent;
        border-bottom-color: var(--primary-color);
    }
}

@media (max-width: 768px) {
    .page-hero {
        height: 40vh;
        min-height: 300px;
        padding-top: 60px;
    }
    
    .page-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .page-hero-content p {
        font-size: 1rem;
    }
    
    .breadcrumb {
        font-size: 0.85rem;
    }
    
    .legal-main {
        padding: 30px 20px;
    }
    
    .legal-section h2 {
        font-size: 1.6rem;
    }
    
    .legal-section h3 {
        font-size: 1.2rem;
    }
    
    .cookie-table {
        font-size: 0.85rem;
    }
    
    .cookie-table th,
    .cookie-table td {
        padding: 10px 8px;
    }
    
    .contact-info,
    .browser-instructions {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .page-hero {
        height: 35vh;
        min-height: 250px;
        padding-top: 50px;
    }
    
    .page-hero-content h1 {
        font-size: 2rem;
    }
    
    .page-hero-content p {
        font-size: 0.9rem;
    }
    
    .breadcrumb {
        font-size: 0.8rem;
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .legal-main {
        padding: 25px 15px;
    }
    
    .legal-section h2 {
        font-size: 1.4rem;
    }
    
    .legal-section h3 {
        font-size: 1.1rem;
    }
    
    .cookie-table {
        font-size: 0.8rem;
    }
    
    .cookie-table th,
    .cookie-table td {
        padding: 8px 6px;
    }
    
    .contact-info,
    .browser-instructions {
        padding: 15px;
    }
}