.footer-flush {
    background-color: var(--primary-black);
    color: var(--white);
    text-align: center;
    margin: 0;
    padding: 0;
}
.footer-flush p {
    margin: 0;
    padding: 0;
}
.contact-content {
    gap: 0 !important;
}
#contact {
    scroll-margin-top: 100px;
}
/* Custom class for section heading using Prata font and matching color */
.section-heading-prata {
    font-family: 'Prata', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #948A54;
}
/* Ugray Consulting Limited - Professional Website Styles */
/* Mobile-First Responsive Design */

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Scheme: Black primary, shades of grey, gold accents */
    --primary-black: #000000;
    --charcoal-grey: #2d2d2d;
    --medium-grey: #5a5a5a;
    --light-grey: #f5f5f5;
    --soft-grey: #e8e8e8;
    --dark-grey: #1a1a1a;
    --white: #ffffff;
    --gold-accent: #d4af37;
    --gold-light: #f4e4a6;
    --gold-dark: #b8941f;
    --ugraygold: #e4cb40;
    
    
    /* Typography */
    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Breakpoints */
    --mobile: 320px;
    --tablet: 768px;
    --desktop: 1024px;
    --large: 1200px;
}

/* Base Typography */
/* Crop top 15% of carousel images */

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-grey);
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

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

h2 {
    font-size: 1.75rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: var(--spacing-sm);
}

a {
    color: var(--gold-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--gold-light);
}

/* Container and Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

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

.section-dark {
    background-color: var(--primary-black);
    color: var(--white);
}

.section-light {
    background-color: var(--light-grey);
}

/* Header and Navigation */
.header {
    background-color: var(--primary-black);
    color: var(--white);
    padding: var(--spacing-sm) 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
    display: inline;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

#ignoreflex {
    display: flex;
    align-items: center;
}
.nav-menu {
    display: none;
    list-style: none;
    padding-left: 2rem;
    gap: var(--spacing-lg);
}

.nav-menu a {
    color: var(--white);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--gold-accent);
}

.mobile-menu-toggle {
    display: block;
    background: none;
    border: none;
    color: var(--white);
    font-size: 3rem;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--primary-black);
    padding: var(--spacing-sm);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu li {
    margin-bottom: var(--spacing-sm);
}

.mobile-menu a {
    color: var(--white);
    display: block;
    padding: var(--spacing-xs);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--charcoal-grey) 100%);
    color: var(--white);
    margin-top: 50px;;
    padding: calc(var(--spacing-2xl) + 60px) 0 var(--spacing-2xl) 0;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content h1 {
    font-family: 'Prata', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    font-weight: 700;
    color: var(--white);
}

.hero-content .subtitle {
    font-size: 1rem;
    margin-bottom: var(--spacing-lg);
    color: var(--white);
    font-weight: 300;
}

.hero-content .description {
    color: var(--white);
    margin-top: 2rem;
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.hero-image {
    margin-top: var(--spacing-lg);
    width: 100%;
    height: 600px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    object-position: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--gold-accent);
    color: var(--primary-black);
    border-color: var(--gold-accent);
    font-weight: 600;
}

.btn-primary:hover {
    background-color: var(--gold-dark);
    border-color: var(--gold-dark);
    color: var(--white);
}

.btn-outline {
    background-color: transparent;
    color: var(--gold-accent);
    border-color: var(--gold-accent);
}

.btn-outline:hover {
    background-color: var(--gold-accent);
    color: var(--primary-black);
}

.btn-outline-white {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--primary-black);
}

/* Grid System */
.grid {
    display: grid;
    gap: var(--spacing-lg);
}

.grid-2 {
    grid-template-columns: 1fr;
}

.grid-3 {
    grid-template-columns: 1fr;
}

/* Cards */
.card {
    background-color: var(--white);
    border-radius: 12px;
    padding: var(--spacing-lg);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


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

.card-icon {
    width: 60px;
    height: 60px;
    background-color: var(--gold-accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    font-size: 1.5rem;
    color: var(--primary-black);
}

.card-image-icon {
    background-color: transparent;
    padding: 0;
    width: 180px;
    height: 180px;
}

.card-icon-image {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: cover;
}

.card h3 {
    color: #948A54;
    font-family: 'Prata', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin-bottom: var(--spacing-sm);
}

.card p {
    color: var(--medium-grey);
    line-height: 1.6;
}



.spancard h3 {
    /* text-align: center; */
}

.spancard div {
    display: grid;
    gap: var(--spacing-lg);
    grid-template-columns: 1fr 1fr;
}
/* Services Section */
.services, .capabilities {
    background-color: var(--white);
}

.services-grid, .capabilities-grid {
    display: grid;
    gap: var(--spacing-lg);
    grid-template-columns: 1fr;
}
.capabilities-grid {}

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

/* .about-content {
    display: grid;
    gap: var(--spacing-xl);
    grid-template-columns: 1fr;
    align-items: center;
} */

.about-text h2 {
    color: #948A54;
    font-family: 'Prata', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin-bottom: var(--spacing-md);
}

.about-text p {
    color: var(--medium-grey);
    margin-bottom: var(--spacing-sm);
    line-height: 1.7;
}

.about-section-with-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    margin-bottom: var(--spacing-xl);
}

.about-section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: start;
    margin-bottom: var(--spacing-xl);
}

.about-center {
    text-align: center;
    margin-bottom: var(--spacing-xl);;
}

.section-image {
    width: 100%;
    max-width: 300px;
    margin-left: auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.competitive-advantage-section {
    margin-bottom: var(--spacing-lg);
}

.advantage-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: flex-start;
}

.advantage-eagle-image {
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.advantage-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.advantage-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: flex-start;
}

.advantage-image {
    width: 100%;
    max-width: 800px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold-accent);
    display: block;
}

.stat-label {
    color: var(--medium-grey);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.contact h2 {
    color: var(--white);
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.contact-content {
    display: grid;
    gap: var(--spacing-xl);
    grid-template-columns: 1fr;
}

.contact-info {
    background-color: rgba(255, 255, 255, 0.05);
    padding: var(--spacing-lg);
    border-radius: 12px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

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

.contact-icon {
    width: 40px;
    height: 40px;
    background-color: var(--gold-accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: var(--spacing-sm);
    font-size: 1.2rem;
    color: var(--primary-black);
}

.contact-form {
    background-color: rgba(255, 255, 255, 0.05);
    padding: var(--spacing-lg);
    border-radius: 12px;
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--spacing-sm);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-family: var(--font-primary);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold-accent);
    background-color: rgba(255, 255, 255, 0.15);
}

/* Footer */
.footer {
    background-color: var(--dark-grey);
    color: var(--white);
    padding: var(--spacing-lg) 0;
    text-align: center;
}

.footer p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

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

.mb-lg {
    margin-bottom: var(--spacing-lg);
}

.mt-lg {
    margin-top: var(--spacing-lg);
}

#mobile-carousel {
    display: none;
}

/* Responsive Design - Tablet */
@media (max-width: 767px) {
    .carousel {
    display: none;
}
#mobile-carousel {
    display: grid;
}
.about-section-with-image {
    display: block;
}
}
    

@media (min-width: 768px) {
    .container {
        padding: 0 var(--spacing-lg);
    }
    
    
    .nav-menu {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .hero-content .subtitle {
        font-size: 1.5rem;
    }
    
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid, .capabilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr 1fr;
    }
    .spancard {
    grid-column: span 3
}
}

/* Responsive Design - Desktop */
@media (min-width: 1024px) {
    .section {
        padding: var(--spacing-2xl) 0;
    }
    
    .hero-content h1 {
        font-size: 4rem;
    }
    
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .services-grid, .capabilities-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Responsive Design - Large Desktop */
@media (min-width: 1200px) {
    .hero-content h1 {
        font-size: 4.5rem;
    }
    
    .hero-content .subtitle {
        font-size: 1.75rem;
    }
}

/* Animation and Transitions */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus States for Accessibility */
.btn:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--gold-accent);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .header,
    .mobile-menu,
    .btn {
        display: none;
    }
    
    .hero {
        background: var(--white);
        color: var(--primary-black);
        min-height: auto;
        padding: var(--spacing-lg) 0;
    }
    
    .section-dark {
        background: var(--white);
        color: var(--primary-black);
    }
}
.carousel {
    border-radius: 10px;
  position: relative;
  max-width: 400px;
  width: 80vw;
  height: 800px;
  overflow: hidden;
  margin: 0 auto;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.carousel:hover .slide:after,
.carousel:hover .counter,
.carousel:hover .slide:before {
  opacity: 1;
}
.slide {
  float: right;
  position: absolute;
  z-index: 1;
  max-width: 400px;
  width: 80vw;
  height: 800px;
  background-color: #000000;
  text-align: left;
  transition: opacity 0.4s;
  opacity: 1;
}
.slide:before {
  content: attr(annot);
  display: block;
  position: absolute;
  padding-bottom: 18px;
  left: 20px;
  bottom: 20px;
  color: rgba(255,255,255,0.9);
  font-size: 17px;
  font-weight: 300;
  z-index: 12;
  opacity: 0;
  transition: opacity 0.3s;
  text-shadow: 0 0 1px #000;
}
.slide:after {
  content: attr(slide);
  display: block;
  position: absolute;
  bottom: 0;
  transition: opacity 0.3s;
  width: 100%;
  height: 80px;
  opacity: 0;
  background-image: linear-gradient(transparent, rgba(0,0,0,0.5));
  text-align: left;
  text-indent: 749px;
  line-height: 101px;
  font-size: 13px;
  color: rgba(255,255,255,0.9);
  text-shadow: 0 0 1px #000;
}
.counter {
  position: absolute;
  bottom: 20px;
  right: 1px;
  height: 20px;
  width: 60px;
  z-index: 2;
  text-align: center;
  color: #fff;
  line-height: 21px;
  font-size: 13px;
  opacity: 0;
  transition: opacity 0.3s;
}
.faux-ui-facia {
  top: 0;
  right: 0;
  float: right;
  position: absolute;
  margin-top: 0;
  z-index: 9;
  height: 100%;
  width: 100%;
  opacity: 0;
  cursor: pointer;
}
.faux-ui-facia:checked {
  z-index: 8;
}
.faux-ui-facia:checked + .slide {
  opacity: 0;
}
.faux-ui-facia:checked:nth-child(1):checked {
  z-index: 9;
}
.faux-ui-facia:nth-child(1):checked {
  float: left;
  z-index: 9;
}
.faux-ui-facia:nth-child(1):checked + .slide {
  opacity: 1;
}
.faux-ui-facia:nth-child(1):checked ~ .faux-ui-facia {
  float: left;
  z-index: 8;
}
.faux-ui-facia:nth-child(1):checked ~ .faux-ui-facia + .slide {
  opacity: 0;
}
.faux-ui-facia:nth-child(1):checked ~ .faux-ui-facia:checked {
  z-index: 9;
}
faux-ui-facia:nth-child(1):checked ~ .faux-ui-facia:checked + .slide {
  opacity: 1;
}
