/* Reset and Base Styles */
:root {
    --primary-color: #1a2942;
    --accent-color: #ffc265;
    --text-light: #ffffff;
    --text-dark: #333333;
}

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

body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background: #000;
}

.container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
}

.nav-group {
    display: flex;
    gap: 1.5rem;
    flex: 1;
}

.nav-group.left {
    justify-content: flex-end;
}

.nav-group.right {
    justify-content: flex-start;
}

.nav-brand {
    font-size: 1.25rem;
    color: var(--text-light);
    padding: 0 2rem;
    letter-spacing: 0.2rem;
    white-space: nowrap;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.65rem;
    letter-spacing: 0.1rem;
    transition: opacity 0.3s ease;
    white-space: nowrap;
}

.nav-link:hover {
    opacity: 0.8;
}

/* Mobile Menu Button */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 15px;
    z-index: 1001;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-light);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Mobile Responsive */
@media screen and (max-width: 1024px) {
    .hamburger {
        display: block;
    }

    nav {
        padding: 0 1rem;
    }

    .nav-group {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(26, 41, 66, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1rem;
        z-index: 1000;
        padding: 60px 20px;
    }

    .nav-group.active {
        display: flex;
    }

    .nav-link {
        font-size: 1.2rem;
        padding: 0.5rem 2rem;
        color: #fff;
        text-align: center;
        width: 100%;
        transition: all 0.3s ease;
    }

    .nav-group.left.active {
        top: 0;
        height: 45vh;
        padding-bottom: 1rem;
    }

    .nav-group.right.active {
        top: 45vh;
        height: 45vh;
        padding-top: 1rem;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

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

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}

/* Hero Section */
section#home.hero {
    position: relative;
    width: 100vw;
    height: 100vh;
    background: url("./Media/image_fx_-2025-01-23T120439.723.png") center/cover no-repeat !important;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.lower-banner {
    position: relative;
    width: 100vw;
    height: 100vh;
    background: url("./Media/lowerBanner1.jpg") center/cover no-repeat;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.hero-widgets {
    position: absolute;
    bottom: 35%;
    left: 0;
    right: 0;
    z-index: 2;
}

.widget-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Remove any existing pseudo-elements */
.hero::before,
.hero::after {
    display: none;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    line-height: 0;
}

.hero-background img {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
    padding: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Consolidated Hero Text Styles */
.hero-text {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-family: 'Agdasima', sans-serif;
    font-size: 1.6rem;
    line-height: 1.2;
    font-weight: 400;
    padding: 1.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    z-index: 2;
    width: 80%;
    max-width: 800px;
}

.hero-text p {
    margin-bottom: 0.5rem;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.02em;
    word-break: break-word;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

/* Variables */
:root {
    --primary-color: #1a2942;    /* Deeper blue */
    --secondary-color: #2c5282;  /* Rich blue */
    --accent-color: #ffc265;     /* Bright blue */
    --text-light: #ffffff;
    --text-dark: #333333;
    --gradient: linear-gradient(135deg, #1a2942 0%, #2c5282 100%);
    --background-color: #f9fafc;
}

html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    scroll-padding-top: 100px;
    scroll-behavior: smooth;
}

/* Hero Background Elements */
/* Removing both background patterns */
.hero::after {
    display: none;
}

.hero::before {
    display: none;
}

/* Hero Typography */
.hero h1 {
    font-size: 15vh;
    font-weight: 400;
    margin: 0;
    padding: 20px 0 0 0;
    line-height: 0.5;
    background: linear-gradient(to right, #fff, #e2e8f0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
    font-family: 'Qwigley', cursive;
    white-space: normal;
    display: block;
    max-width: 100%;
    overflow-wrap: break-word;
}

/* Widgets Section */
.widget-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.widget {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    color: var(--text-light);
    transition: transform 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
}

.widget:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.widget i {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.widget h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    line-height: 1.4;
}

.widget p {
    opacity: 0.9;
    margin-top: 0.5rem;
    color: var(--text-light);
}

.widget-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
    text-align: left;
}

.widget-list li {
    margin: 0.5rem 0;
    color: #ffffff;
    font-size: 0.9rem;
    opacity: 0.9;
    padding-left: 1.5rem;
    position: relative;
}

.widget-list li::before {
    content: '•';
    position: absolute;
    left: 0.5rem;
    color: #ffb23f;
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-20px) translateX(20px); }
    100% { transform: translateY(0) translateX(0); }
}

@keyframes elegantFlow {
    0% { background-position: 0 0, 50px 0; }
    100% { background-position: 100px 0, 150px 0; }
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .container {
        padding: 0 40px;
    }
}

@media screen and (max-width: 768px), 
       screen and (max-width: 480px) {
    /* Container */
    .container {
        padding: 0 20px;
    }
    
    /* Navigation */
    .mobile-menu-button {
        display: block;
    }
    
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(26, 41, 66, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 999;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        font-size: 1.4rem;
        padding: 15px;
        color: var(--text-light);
        text-decoration: none;
        transition: opacity 0.3s;
    }
    
    /* Hero Section */
    .hero {
        padding: 60px 0 60px;
    }
    
    .hero h1 {
        font-size: 7rem !important;
        line-height: 1 !important;
    }
    
    .hero-text p {
        font-size: 0.6rem !important;
        text-align: center !important;
    }
    
    /* Grid Layouts */
    .widget-grid,
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 15px;
    }
    
    /* Content Alignment */
    .hero-text p,
    .about-text,
    .about-content,
    .services-light,
    .service-item,
    .widget,
    .widget h3,
    .widget p,
    .widget-list,
    .about h2,
    .services h2,
    .delivery-services .about-text,
    .delivery-services h2,
    .service-features {
        text-align: left !important;
    }
    
    /* Touch Targets */
    .widget i,
    .service-icon,
    .nav-links a,
    .cta-button {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media screen and (max-width: 480px) {
    /* Container */
    .container {
        padding: 0 15px;
    }
    
    /* Typography */
    .hero h1 {
        font-size: 5rem !important;
        line-height: 0.8 !important;
    }
    
    .hero-text p {
        font-size: 0.6rem !important;
        text-align: center !important;
    }
    
    /* Widgets */
    .widget {
        padding: 1.5rem;
    }
    
    .widget h3 {
        font-size: 1.2rem;
    }
    
    .widget p {
        font-size: 0.9rem;
    }
}

/* Add hamburger menu for mobile */
.mobile-menu-button {
    display: none;
    font-size: 1.8rem;
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 10px;
    z-index: 1000;
    position: relative;
}

@media screen and (max-width: 768px) {
    .mobile-menu-button {
        display: block;
    }
    
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(26, 41, 66, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 999;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        font-size: 1.4rem;
        padding: 15px;
        color: var(--text-light);
        text-decoration: none;
        transition: opacity 0.3s;
    }
    
    .nav-links a:hover {
        opacity: 0.8;
    }
}

/* Touch-friendly improvements */
@media (max-width: 768px) {
    .widget i,
    .service-icon,
    .nav-links a,
    .cta-button {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .cta-button {
        padding: 12px 25px;
    }
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--accent-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

/* About Section */
.about {
    position: relative;
}

.about::before {
    content: none;
    display: none;
}

.about h2 {
    text-align: center;
    margin-bottom: 50px;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
    text-align: justify;
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-dark);
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
}

.about-features li {
    margin: 15px 0;
}

.about-features i {
    color: var(--secondary-color);
    margin-right: 10px;
}

/* Services Section */
.services {
    position: relative;
    padding: 100px 0;
    min-height: 100vh;
    color: var(--text-light);
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><path d="M0 20h40M20 0v40" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.services h2 {
    text-align: center;
    margin-bottom: 80px;
    color: var(--text-light);
    font-size: 2.5rem;
    position: relative;
}

.services h2::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: #ffb23f;
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 0 10%;
    position: relative;
}

.service-item {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    overflow: hidden;
    transition: all 0.4s ease;
    border-radius: 20px;
}

.service-item:nth-child(1),
.service-item:nth-child(2) {
    grid-column: span 1;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.05));
    pointer-events: none;
}

.service-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 179, 63, 0.2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.service-item:hover .service-icon {
    background: rgba(255, 179, 63, 0.3);
    transform: scale(1.1);
}

.service-header i {
    font-size: 24px;
    color: #ffb23f;
}

.service-header h3 {
    color: var(--text-light);
    font-size: 1.4rem;
    margin: 0;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-list li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #ffb23f;
    opacity: 0.8;
}

.service-title {
    color: #ffb23f;
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.service-list p {
    color: var(--text-light);
    opacity: 0.9;
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        padding: 0 5%;
    }
    
    .service-item:nth-child(n) {
        grid-column: span 1;
    }
}

/* Service Boxes */
.service-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: -60px;
}

.service-box {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    text-align: center;
}

.service-box:hover {
    transform: translateY(-10px);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.icon-wrapper i {
    font-size: 32px;
    color: var(--secondary-color);
}

/* Portfolio Section */
.portfolio {
    padding: 100px 0;
    background: var(--background-color);
}

.portfolio h2 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
    font-size: 2.5rem;
}

.portfolio-item {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

.portfolio-image {
    padding: 2rem;
    text-align: center;
    background: var(--gradient);
}

.portfolio-image i {
    font-size: 4rem;
    color: var(--text-light);
}

.portfolio-content {
    padding: 2.5rem;
}

.portfolio-content h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.portfolio-content p {
    color: var(--text-dark);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.portfolio-content p:last-child {
    margin-bottom: 1.5rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: var(--gradient);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.cta-button i {
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: translateX(5px);
}

/* Contact Section Styles */
.contact-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-form {
    background: none;
    padding: 40px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

.form-row .form-group:nth-child(2) {
    flex: 0.5;
}

.form-group {
    margin-bottom: 30px;
    position: relative;
}

.form-group label {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    margin-bottom: 5px;
    font-weight: 300;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 8px 0;
    background: transparent !important;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: #ffb23f;
    background: transparent !important;
}

/* Ensure placeholder text is visible but slightly transparent */
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Style for autofill */
.form-group input:-webkit-autofill,
.form-group input:-webkit-autofill:hover,
.form-group input:-webkit-autofill:focus,
.form-group textarea:-webkit-autofill,
.form-group textarea:-webkit-autofill:hover,
.form-group textarea:-webkit-autofill:focus {
    -webkit-text-fill-color: #fff;
    -webkit-box-shadow: 0 0 0px 1000px transparent inset;
    transition: background-color 5000s ease-in-out 0s;
}

.submit-btn {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 12px 40px;
    font-size: 0.9rem;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    background: #ffb23f;
    color: #000;
    border-color: #ffb23f;
    transform: translateY(-2px);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .contact-form {
        padding: 20px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-row .form-group {
        margin-bottom: 25px;
    }

    .form-row .form-group:nth-child(2) {
        flex: 1;
    }
}

/* Footer */
footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.social-links a {
    color: #fff;
    font-size: 24px;
    margin-left: 20px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #007bff;
}

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

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.service-box, .portfolio-item, .about-content {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .service-boxes {
        margin-top: 30px;
    }
}

.hero-background {
    position: absolute;
    top: 79px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-background img {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.widget i {
    font-size: 2rem;
    color: #2c5282;
    width: 70px;
    height: 70px;
    background: rgba(239, 244, 245, 0.966);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.widget:hover i {
    background: rgb(255, 255, 255);
    transform: scale(1.1);
}

.about-text p {
    margin-bottom: 2rem;
}

.about-text p:last-child {
    margin-bottom: 0;
}


.about.delivery-services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="40" height="40" xmlns="http://www.w3.org/2000/svg"><path d="M0 20h40M20 0v40" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.about.delivery-services .about-content {
    flex-direction: column;
    text-align: center;
}

.about.delivery-services h2 {
    color: var(--text-light);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    width: 100%;
}

.about.delivery-services h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: #ffb23f;
    border-radius: 2px;
}

.about.delivery-services .about-text {
    color: var(--text-light);
    max-width: 1000px;
    margin: 0 auto;
    text-align: justify;
}

/* Services Light Section */
.services-light {
    background: var(--background-color);
    padding: 120px 0;
    position: relative;
}

.services-light h2 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
    font-size: 2.5rem;
    position: relative;
}

.services-light h2::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.services-light .service-item {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.services-light .service-title {
    color: var(--primary-color);
}

.services-light .service-features .feature-item {
    color: var(--text-dark);
}

.services-light .service-icon {
    background: rgba(44, 82, 130, 0.1);
}

.services-light .service-icon i {
    color: var(--secondary-color);
}

@media screen and (max-width: 768px) {
    .hero-text {
        font-size: 6rem !important;
        line-height: 1.2;
        padding: 0 20px;
        width: 100%;
        top: 35%;
    }
    
    .hero-text p {
        font-size: 2rem !important;
        line-height: 1.2;
    }
}

@media screen and (max-width: 480px) {
    /* Hero text adjustments */
    .hero-text {
        font-size: 1.6rem !important;
        top: 12%;
    }
    
    .hero-text p {
        font-size: 1.6rem !important;
        line-height: 1.3;
    }

    /* Keep existing text alignment rules */
    .hero-text p,
    .about-text,
    .about-content,
    .services-light,
    .service-item,
    .widget,
    .widget h3,
    .widget p,
    .widget-list,
    .about h2,
    .services h2,
    .delivery-services .about-text,
    .delivery-services h2 {
        text-align: left !important;
    }
}

/* Add styles for the Privileged Access section */
.privileged-access {
    position: relative;
    min-height: 100vh;
}

.privileged-access h2,
.privileged-access h3 {
    color: #FFFFFF;
    position: relative;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    display: inline-block;
    padding: 10px 20px;
}

.privileged-access h2 {
    font-size: 2.5rem;
    margin-bottom: 0rem;
}

.privileged-access h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.privileged-access p {
    color: #FFFFFF;
    font-size: 1.1rem;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
}

.key-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.key-features li {
    color: #FFFFFF;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.key-features i {
    color: #ffb23f;
    display: flex;
    align-items: center;
    height: 100%;
    margin-top: 2px;
}

.global-capital,
.strategic-efficiency {
    position: relative;
    min-height: 100vh;
}

.section-content {
    width: 100%;
    padding: 0 40px;
}

.section-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-top: 60px;
}

.section-header h2 {
    font-size: 3.2rem;
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 10px;
    color: #FFFFFF;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: #ffb23f;
}

.subtitle {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 15px;
}

.main-description {
    max-width: 950px;
    margin: 0 auto 20px;
    text-align: center;
}

.main-description p {
    font-family: 'Agdasima', sans-serif;
    font-size: 1.6rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.main-description p:last-child {
    margin-bottom: 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 35px 0;
}

.feature-item {
    background: rgba(26, 41, 66, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature-item:hover {
    background: rgba(26, 41, 66, 0.4);
    transform: translateY(-5px);
}

.feature-icon {
    margin-bottom: 0;
    display: flex;
    align-items: flex-start;
}

.feature-icon i {
    font-size: 1.5rem;
    color: #ffb23f;
}

.feature-content {
    flex: 1;
    text-align: left;
    padding: 0;
}

.feature-content h4 {
    font-size: 1.1rem;
    color: #FFFFFF;
    margin: 0 0 10px 0;
    font-weight: 400;
    padding: 0;
    line-height: 1;
}

.feature-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    font-size: 0.9rem;
    margin: 0;
    padding: 0;
}

.section-footer {
    text-align: center;
    max-width: 800px;
    margin: 80px auto 0;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
}

/* Individual section backgrounds */
.privileged-access {
    position: relative;
    min-height: 100vh;
}

.global-capital {
    position: relative;
    min-height: 100vh;
}

.strategic-efficiency {
    position: relative;
    min-height: 100vh;
}

/* All the existing CSS remains the same, just add .privileged-access to the selectors */
.privileged-access .section-content,
.global-capital .section-content,
.strategic-efficiency .section-content {
    max-width: 1200px;
    margin: 10 auto;
    padding: 0 40px;
}

/* Continue adding .privileged-access to all other selectors... */

/* Height-based adjustments if needed */
@media (max-height: 800px) {
    .section-content {
        padding: 0 40px;
    }
}

/* Reset for all sections */
section {
    position: relative;
    width: 100%;
    z-index: 1;
    display: block;
    scroll-margin-top: 0;
}

/* Specific section styling */
.privileged-access,
.global-capital,
.strategic-efficiency {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    padding: 40px 0 80px 0;
    margin: 0;
    position: relative;
    overflow: hidden;
    clear: both;
    color: #FFFFFF;
}

/* Adjust scroll padding */
html {
    scroll-padding-top: 0;
}

/* Adjust section content padding */
.section-content {
    width: 100%;
    padding: 0 40px;
    margin-top: 0;
}

/* Container reset */
.container {
    position: relative;
    width: 100%;
}



/* Keep Up Button Styles */
.up-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background-color: rgba(42, 42, 42, 0.5);
    color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
}

.up-button:hover {
    background-color: rgba(42, 42, 42, 0.7);
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.up-button i {
    font-size: 16px;
}

@media screen and (max-width: 768px) {
    .up-button {
        width: 32px;
        height: 32px;
        bottom: 20px;
        right: 20px;
    }

    .up-button i {
        font-size: 14px;
    }
}

/* Cursor Trail Effect */
#cursor-trail {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

.cursor-trail-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(255, 178, 63, 0.8);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, opacity 0.2s;
}

.cursor-trail-dot.fading {
    animation: fadeOut 1s forwards;
}

@keyframes fadeOut {
    0% {
        opacity: 0.8;
        width: 8px;
        height: 8px;
    }
    100% {
        opacity: 0;
        width: 4px;
        height: 4px;
    }
}

/* Reset backgrounds for sections after About */
.services,
.privileged-access,
.global-capital,
.strategic-efficiency,
.our-process,
#about,
#privileged-access,
#global-capital,
#strategic-efficiency,
#our-process {
    position: relative;
    min-height: 100vh;
    color: var(--text-light);
    background: none;
    padding-left: 20%;
    box-sizing: border-box;
    z-index: 1;
}

/* This should be the ONLY background definition */
.unified-bg {
    position: relative;
    background: url('./Media/image_fx_ - 2025-01-23T210306.402.jpg') left center;
    background-size: 150%;
    min-height: 100vh;
    z-index: 0;
    background-attachment: scroll;
    background-repeat: no-repeat;
    background-color: #000;
    margin-top: 0;
    transform: translateY(-100vh);
}

/* Post-banner sections */
#about,
#privileged-access,
#global-capital,
#strategic-efficiency,
#our-process,
#contact {
    min-height: 100vh;
    padding-left: 20%;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
    color: #fff;
    transform: translateY(100vh);
}

/* Rolodex Menu Styles */
@import url('https://fonts.googleapis.com/css2?family=Saira+Extra+Condensed:wght@800&family=Staatliches&display=swap');

html {
    scroll-snap-type: y proximity;
}

.spacer {
    color: #2d2d3f;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eaf3fa;
    margin-bottom: 80px;
    font-size: 40px;
}

.cols2 {
    padding-left: 20px;
    display: flex;
    align-items: baseline;
    position: fixed;
    top: 50%;
    left: -100%;
    transform: translateY(-50%);
    z-index: 10;
    visibility: hidden;
    transition: left 0.5s ease, visibility 0s 0.5s;
    gap: 1rem;
    pointer-events: none;
}

.cols2.visible {
    left: 0;
    visibility: visible;
    transition: left 0.5s ease, visibility 0s;
    pointer-events: auto;
}

.cols2 h1,
.cols2 ul,
.cols2 li {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    line-height: 1;
    font-size: 1.5rem;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.cols2 h1 {
    flex-grow: 0;
    align-self: baseline;
    font-weight: 400;
    font-size: 1.5rem;
    line-height: 1;
    margin: 0;
}

.rotator {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
    height: 35px;
    overflow: visible;
    position: relative;
}

.rotator li {
    height: 35px;
    display: flex;
    align-items: baseline;
    padding: 0;
    position: relative;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    opacity: 1;
    visibility: visible;
}

.rotator li > span {
    display: inline-block;
    line-height: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
    will-change: transform, opacity;
    opacity: 1;
    visibility: visible;
    font-size: 1.5rem;
    font-weight: 500;
}

/* Post-banner sections background */
#about,
#privileged-access,
#global-capital,
#strategic-efficiency,
#our-process {
    background: none;
}

#about,
#privileged-access,
#global-capital,
#strategic-efficiency,
#our-process {
    background: none !important;
}

/* Mobile Rolodex Styles */
@media screen and (max-width: 768px) {
    .cols2 {
        display: none !important;  /* Hide rolodex completely on mobile */
    }

    /* Adjust contact form for mobile */
    .contact-form-container {
        max-width: 100%;
        padding: 0 15px;
    }

    .contact-form {
        padding: 20px 15px;
    }

    /* Adjust section padding for mobile without rolodex */
    #about,
    #privileged-access,
    #global-capital,
    #strategic-efficiency,
    #our-process,
    #contact {
        padding-left: 15px;
        padding-right: 15px;
        width: 100%;
    }

    /* Adjust section content for full width */
    .section-content {
        padding: 0 15px;
    }
}

/* Timeline Styles */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 1px;
    height: 100%;
    background: rgba(255, 178, 63, 0.3);
    transform: translateX(-50%);
    margin: 5px 0;
}

.timeline-item {
    position: relative;
    margin: -15px 0;  /* Tighter spacing for desktop */
    display: flex;
}

/* Adjust dots position for the tighter spacing */
.timeline-item::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    background: #1a2942;
    border: 2px solid #ffb23f;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    line-height: 24px;
    text-align: center;
}

.timeline-item:nth-child(1)::after { content: '1'; color: #ffb23f; font-size: 12px; }
.timeline-item:nth-child(2)::after { content: '2'; color: #ffb23f; font-size: 12px; }
.timeline-item:nth-child(3)::after { content: '3'; color: #ffb23f; font-size: 12px; }
.timeline-item:nth-child(4)::after { content: '4'; color: #ffb23f; font-size: 12px; }
.timeline-item:nth-child(5)::after { content: '5'; color: #ffb23f; font-size: 12px; }
.timeline-item:nth-child(6)::after { content: '6'; color: #ffb23f; font-size: 12px; }

/* Position boxes on alternating sides */
.timeline-item:nth-child(odd) {
    justify-content: flex-start;
}

.timeline-item:nth-child(even) {
    justify-content: flex-end;
}

.timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
    margin-right: 50px;
}

.timeline-item:nth-child(even) .timeline-content {
    text-align: left;
    margin-left: 50px;
}

/* Single connector for each item */
.timeline-item:nth-child(odd) .timeline-content::before {
    content: '';
    position: absolute;
    right: -50px;
    top: 50%;
    width: 50px;
    height: 1px;
    background: rgba(255, 178, 63, 0.3);
    transform: translateY(-50%);
}

.timeline-item:nth-child(even) .timeline-content::before {
    content: '';
    position: absolute;
    left: -50px;
    top: 50%;
    width: 50px;
    height: 1px;
    background: rgba(255, 178, 63, 0.3);
    transform: translateY(-50%);
}

/* Remove any ::after connectors */
.timeline-item:nth-child(odd) .timeline-content::after,
.timeline-item:nth-child(even) .timeline-content::after {
    display: none;
}

/* Mobile styles */
@media screen and (max-width: 768px) {
    .timeline::before {
        left: 50%;
    }

    .timeline-item {
        margin: 25px 0;
    }

    .timeline-content {
        width: 42%;
        padding: 8px 12px;
        margin-left: 0 !important;
        margin-right: 0 !important;
        min-height: unset;  /* Remove fixed height */
    }

    /* Hide all content except headings */
    .timeline-content > * {
        display: none;
    }

    .timeline-content h3 {
        display: block;
        margin: 0;
        font-size: 0.75rem;
        line-height: 1.2;
        white-space: normal;
        overflow-wrap: break-word;
        hyphens: auto;
        text-align: center !important;  /* Center align headings */
    }

    /* Adjust connectors */
    .timeline-item:nth-child(odd) .timeline-content::before {
        right: -35px;
        width: 35px;
    }

    .timeline-item:nth-child(even) .timeline-content::before {
        left: -35px;
        width: 35px;
    }

    /* Ensure boxes are centered vertically */
    .timeline-content {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

.timeline-content {
    position: relative;
    width: 45%;
    padding: 6px 10px;
    background: rgba(26, 41, 66, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin: 5px 0;  /* Add small vertical margin to prevent touching */
}

/* Hero Widgets Mobile Adjustments */
@media screen and (max-width: 768px) {
    .hero-widgets {
        bottom: 5%;
        padding: 0 15px;
    }

    .widget-grid {
        grid-template-columns: 1fr;
        gap: 15px;  /* Set consistent gap between widgets */
        padding: 0;
    }

    .widget {
        padding: 15px;  /* Set consistent padding inside widgets */
        backdrop-filter: blur(15px);
        background: rgba(255, 255, 255, 0.15);
        margin: 0;  /* Remove any margin */
    }

    .widget i {
        width: 50px;  /* Make icons slightly smaller */
        height: 50px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .widget h3 {
        font-size: 1rem;  /* Reduce heading size */
        margin-bottom: 0.5rem;
    }

    .widget p {
        font-size: 0.9rem;  /* Reduce text size */
    }
}

/* Mobile header and section adjustments */
@media screen and (max-width: 768px) {
    header {
        padding: 1rem;
        background: rgba(0, 0, 0, 0.8);  /* Add semi-transparent background */
        backdrop-filter: blur(10px);
    }

    .nav-brand {
        font-size: 1rem;
        padding: 0;
    }

    /* Adjust section padding to prevent overlap with header */
    section {
        padding-top: 80px;  /* Add padding to account for fixed header */
    }

    .section-header {
        padding-top: 20px;  /* Reduce top padding since we added it to the section */
    }

    /* Adjust hero text positioning */
    .hero-text {
        top: 33%;  /* Center vertically */
        padding-top: 20px;  /* Add padding to prevent overlap with header */
    }
}

.form-group input.error,
.form-group textarea.error {
    border-bottom-color: #ff4444;
}

.form-group input.valid {
    border-bottom-color: #4CAF50;
}

/* Error message styles */
.error-message {
    color: #ff4444;
    font-size: 0.8rem;
    margin-top: 5px;
    display: none;
}

.form-group input.error + .error-message {
    display: block;
}

/* International Telephone Input Styles */
.iti {
    width: 100%;
    display: block;
    margin-top: 5px;
    position: relative;
}

.iti__flag-container {
    right: auto;
    left: 0;
}

.iti__selected-flag {
    background: none !important;
    padding: 0 8px 0 11px;
}

.iti__selected-flag:hover,
.iti__selected-flag:focus {
    background: rgba(255, 255, 255, 0.1) !important;
}

.iti__country-list {
    background: rgba(8, 12, 20, 0.99) !important;
    border: none !important;
    border-radius: 4px;
    margin-top: 2px;
    max-height: 200px;
    width: 300px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    overflow-x: hidden;
}

.iti__country {
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    background: none !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border: none !important;
}

.iti__country:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

.iti__country-name {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 0.9rem;
    margin-right: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.iti__dial-code {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.iti__divider {
    border-bottom: 1px solid rgba(26, 41, 66, 0.3);
    margin: 5px 0;
}

.iti__flag {
    margin-right: 8px;
    flex-shrink: 0;
}

.iti__arrow {
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid rgba(255, 255, 255, 0.7);
    margin-left: 5px;
}

.iti__active {
    background-color: rgba(255, 178, 63, 0.15) !important;
}

.iti__active:hover {
    background-color: rgba(255, 178, 63, 0.25) !important;
}

.iti__active .iti__country-name,
.iti__active .iti__dial-code {
    color: #ffb23f !important;
}

/* Search box in dropdown */
.iti__search-box {
    background: rgba(8, 12, 20, 0.99) !important;
    border: 1px solid rgba(26, 41, 66, 0.3);
    color: #fff !important;
    padding: 8px;
    margin: 0;
    width: 100%;
}

.iti__search-box:focus {
    outline: none;
    border-color: rgba(255, 178, 63, 0.5);
}

/* Dropdown scrollbar styling */
.iti__country-list::-webkit-scrollbar {
    width: 8px;
}

.iti__country-list::-webkit-scrollbar-track {
    background: rgba(8, 12, 20, 0.99);
}

.iti__country-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.iti__country-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

