/* Modern CSS for IYCON Website */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00007F;
    --secondary-color: #A29161;
	--third-color: #054bf5;
	--overlay-color: #000000;
    --accent-color: #3E92CC;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
    --border-color: #E9ECEF;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 5px 20px rgba(0, 0, 0, 0.15);
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.12);
    --shadow-card-hover: 0 15px 40px rgba(0, 0, 0, 0.2);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
	--glass-shadow-1: 0 8px 32px 0 rgba(81, 174, 240, 0.37)
    --gradient-1: linear-gradient(135deg, #00007F 0%, #054bf5 100%);
    --gradient-2: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-3: linear-gradient(135deg, #917129 0%, #A29161 100%);
	--gradient-4: linear-gradient(135deg, #000000 0%, #0a0808 100%);
	--gradient-5: linear-gradient(135deg, #000000 0%, #666666 100%);
	--gradient-6: linear-gradient(135deg, #000000 0%, #3E92cc 100%);
	--gradient-7: linear-gradient(135deg, #000000 0%, #DAE9F8 100%);
	--gradient-8: linear-gradient(135deg, #000000 0%, #000000 100%);
	--gradient-9: linear-gradient(135deg, #000000 0%, #00FFFF 100%);
}

body {
    font-family: Roboto, sans-serif;
    line-height: 1.6;
    color: white;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header and Navigation */
header {
    background: var(--bg-white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}
nav-top {
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding: 1rem 0;
}
.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.logo_solutions {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: FFFFFF;
	text-decoration: none; 
}

.logo img {
    height: 50px;
    margin-right: 10px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: var(--gradient-6);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    z-index: 0;
}
.hero-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.hero .container {
    position: relative;
    z-index: 1;
}
./* hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:url('img/Homepage2.jpg') no-repeat center center;
    background-size: cover;
    opacity: 0.2;
    z-index: 0; */
}
.ourstory {
    background: var(--gradient-6);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ourstory-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    z-index: 0;
}
.ourstory-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.ourstory .container {
    position: relative;
    z-index: 1;
}

.ourstory-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.ourstory-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    padding: 3rem;
    margin: 0 auto;
    max-width: 700px;
    box-shadow: var(--glass-shadow-1);
}
./* hero::after {
    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 1440 320"><path fill="%ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    z-index: 1;
} */

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    padding: 3rem;
    margin: 0 auto;
    max-width: 700px;
    box-shadow: var(--glass-shadow-1);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    margin: 0;
}

.hero-buttons .btn-outline {
    margin-left: 0;
}

.hero h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(62, 145, 204, 0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.btn:hover {
    background: #917129;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

.btn-1 {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1;
}
.btn-1:hover {
    background: #917129;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}
.btn-outline {
    background: transparent;
    border: 2px solid white;
    margin-left: 1rem;
}

.btn-outline-1 {
    background: transparent;
    border: 2px;
	border color: #00007F;
    margin-left: 1rem;
}
.btn-outline:hover {
    background: white;
    color: var(--primary-color);
}

/* Content Sections */
section {
    padding: 20px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #00007f;
    margin-bottom: 3rem;
    position: relative;
}

.section-title-white {
    text-align: center;
    font-size: 2.5rem;
    color: #FFFFFF;
    margin-bottom: 3rem;
    position: relative;
}

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

/* Cards */
.card {
	margin: 20px;
    background: var(--bg-white);
    border-radius:28px;
    padding: 40px 40px 40px 40px;
    box-shadow: var(--shadow-card);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    position: relative;
	/* text-align: justify; */
    overflow: hidden;
  /*   border: 1px solid rgba(255, 255, 255, 0.1); */
}
.card-contact {
	margin: 20px;
    background: var(--bg-white);
    border-radius:28px;
    padding: 2.5rem;
    box-shadow: var(--shadow-card);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    position: relative;
	text-align: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.card1-contact {
	margin: 20px;
    background: var(--bg-white);
    border-radius:28px;
    padding: 2.5rem;
    box-shadow: var(--shadow-card);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    position: relative;
	text-align: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-3);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.card1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}
.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-card-hover);
}

.card:hover::before {
    transform: scaleX(1);
}

.card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}
.card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
	font-weight: 600;
	text-align: center;
	font-family: 'Roboto', sans-serif;
}
.card p {
    font-family: 'Roboto', sans-serif;
	line-height: 1.4;
    font-size: 14px; 
    color: var(--text-light);
    max-width: 70ch;
    margin: 0 auto;
    padding: 0 1rem;
    overflow-x: hidden;
}

.card-icon {
    width: 45px;
    height: 45px;
    background: var(--gradient-6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.card:hover .card-icon {
	    transform: rotate(360deg) scale(1.1);
}

/* Grid Layouts */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
	
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    align-items: center;
}

/* Features Section */
.features {
    background: var(--bg-light);
}

.feature-card {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.about-image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Solutions Section */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.solution-card {
    background: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.solution-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.solution-content {
    padding: 1.5rem;
}

.solution-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Customers Section */
.customers {
    background: var(--bg-light);
    overflow: hidden;
}

.carousel-wrapper {
    position: relative;
    margin: 3rem 0;
    overflow: hidden;
    border-radius: 15px;
}

.carousel-container {
    display: flex;
    animation: scroll 30s linear infinite;
    gap: 2rem;
    padding: 1rem 0;
}

.carousel-container.carousel-reverse {
    animation: scroll-reverse 35s linear infinite;
}

.carousel-item {
    flex: 0 0 calc(20% - 1.6rem);
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(10, 36, 99, 0.1), transparent);
    transition: left 0.6s ease;
}

.carousel-item:hover::before {
    left: 100%;
}

.carousel-item:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--primary-color);
}

.carousel-item img {
    max-width: 100%;
    max-height: 100px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.carousel-item:hover img {
    filter: grayscale(0%);
    transform: scale(1.1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes scroll-reverse {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

.carousel-container:hover,
.carousel-container.carousel-reverse:hover {
    animation-play-state: paused;
}

/* Case Studies Section */
.case-studies {
    background: var(--bg-light);
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.case-study-card {
	background: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all 0.4s ease;
    position: relative;
}

.case-study-card1 {
	background: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all 0.4s ease;
    position: relative;
}


.case-study-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
}

.case-study-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.case-study-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.case-study-card:hover .case-study-image img {
    transform: scale(1.1);
}

.case-study-content {
    padding: 1rem;
}

.case-study-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
	
}

.case-study-content h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 0.9rem;
	
}

.case-study-meta {
    display: flex; /* Activate flex properties */
    justify-content: center; /* Center children horizontally */
    gap: 10px; /* Optional: Add space between the tags */
    margin-bottom: 15px; /* Keep vertical spacing */
}

.case-study-tag {
    background: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 80px;
    font-size: 0.7rem;
    color: white;
}

.case-study-tag1 {
			background: white;
            padding: 0.5rem 1.2rem;
            border-radius: 80px;
            font-size: 0.7rem;
            color: #00007F;
            border: 1px solid #A29161;
            font-weight: 300;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
}
.case-study-results {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.result-item {
    display: flex;
    align-items: left;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
	font-family:'Roboto', sans-serif;
	font-size: 0.9rem;
    color: var(--text-dark);
}

.result-item::before {
    content: '✓';
    color: var(--secondary-color);!important;
    font-weight: bold;
}

/* Stats Section */

/* .about-text{
    font-family:'Roboto', sans-serif;
	font-size: 16px;
    line-height: 1.4;
    color: var(--text-dark);
    overflow-x: hidden;
} */

.about-text {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(1rem, 1.1vw, 1.125rem); /* 16px → scales slightly on larger screens */
    line-height: 1.6;
    color: var(--text-light, #666666);
    max-width: 70ch;
    margin: 0 auto;
    padding: 0 1rem;
    overflow-x: hidden;
}

.about-text p {
    margin-bottom: 0.1rem; /* Reduced paragraph spacing */
}

.about-text p:first-of-type {
    margin-top: 0; /* Removes any extra top margin from the first paragraph */
}

@media (min-width: 768px) {
    .about-text {
        padding: 0 2rem;
    }
}


.stats {
    background: var(--gradient-6);
    color: white;
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:url(img/ourimpact5.jpg)no-repeat center center;
    background-size: cover;
    opacity: 0.2;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-item {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 0.2rem;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    background: #92722A;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stats-grid .stat-item .stat-number-2 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #FFFFFF !important; /* Direct color with important flag */
    text-shadow: 0 0 1px rgba(255, 255, 255, 0.8); /* Add subtle shadow for better visibility */
    /* Remove all background-clip properties that cause transparency */
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    background-clip: initial !important;
    position: relative;
    z-index: 10; /* Higher z-index */
}
/* .stats-grid .stat-item .stat-number-2{
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
	color: #FFFFFF
    background: #FFFFFF;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
} */
.stat-label {
    font-size: 1.5rem;
    opacity: 1;
	color:#00007F;!important
}

.stat-label-2 {
    font-size: 1.5rem;
    opacity: 1;
	color:#FFFFFF;!important
}

/* Call To Action */
.CallToAction {
    background: var(--gradient-6);
    color: white;
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

.CallToAction::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:url(img/CallToAction.jpg)no-repeat center center;
    background-size: cover;
    opacity: 0.2;
}

/* Contact Section */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* --- New Style: Introductory Paragraph --- */
.contact-card + p { /* Target the paragraph right before the contact-info div (if applicable in your HTML) */
    font-size: 1.2rem; 
    color: #000000; /* Keeping your inline color */
    margin-bottom: 1rem;
    /* You might want a custom class like .section-intro if this selector is too specific */
}

.contact-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* Fix for the incomplete ::before block - added the missing selector */
.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-3);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
}

.contact-card:hover::before {
    transform: scaleX(1);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
    transform: rotate(360deg) scale(1.1);
}

/* --- New Style: Email Link --- */

/* Targets the 'a' element created by the JavaScript */
.contact-card p a {
    /* Keeping the strong tag color from your HTML: #00007F */
    color: #00007F; 
    font-weight: bold; /* Mimics the strong tag */
    text-decoration: none; /* Removes underline */
    
    /* Add hover effect for the link itself */
    transition: color 0.3s ease;
}

.contact-card p a:hover {
    color: var(--gradient-3); /* Change to your theme color (gold/brown/primary) on hover */
    text-decoration: underline;
}

/* Ensure the card title text uses a defined variable if possible */
.contact-card h3 {
    color: var(--color-primary, #0A2463); /* Uses a variable, falls back to the dark blue */
    margin-bottom: 0.5rem;
}
/* Enhanced Button Styles */
.btn {
    display: inline-block;
    padding: 14px 32px;
    background: white;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(146, 114, 42, 0.3);
}
.btn1 {
    /* Existing styles */
    padding: 14px 32px;
    background: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    cursor: pointer;
    position: relative;
    text-align: center;
    z-index: 1;
    overflow: hidden;

    /* --- FIXES FOR CENTERING --- */
    /* 1. Change to block-level element so margin: auto works */
    display: block; 
    
    /* 2. Center horizontally by setting margins */
    margin: 0 auto; 
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover {
    background: #92732a
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(146, 114, 42, 0.4);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--primary-color)!important;
    box-shadow: 0 4px 15px rgba(10, 36, 99, 0.3);
}

.btn-primary:hover {
    background: #081a4a;
    box-shadow: 0 8px 25px rgba(10, 36, 99, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    box-shadow: none;
    margin-left: 1rem;
}

.btn-outline:hover {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #000000 0%, #3E92cc 100%);!important
    color: white; !improtant;
    padding: 3rem 0 1rem;
    position: relative;
    overflow: hidden;

}
/* footer::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 1440 320"><path fill="%ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
	
} */

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 1); !important;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-section ul li a:hover {
    color: white;
    transform: translateX(5px);
}
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: #fff; /* shorthand for rgba(255,255,255,1) */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid #fff;
    color: #00007f;           /* icon color */
    font-size: 1.2rem;     /* icon size */
    text-decoration: none; /* prevent underline on links */
}

.social-links a:hover {
    background: var(--secondary-color);
    color: #fff; /* ensure icon stays visible on hover */
/*     transform: translateY(-1px) scale(1.1); */
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.7); /* softened shadow */
}


.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

/* Floating Action Button */
.fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: var(--shadow-card-hover);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    border: none;
    text-decoration: none;
}

/* .fab:hover {
    transform: scale(1.1) rotate(90deg);
    background: #e05a5a;
} */

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-blue);
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: var(--shadow);
    }

/*     .nav-links.active {
        display: flex;
    } */

/* Mobile menu changes JCP 27 Sep */
.nav-links.active {
    display: flex;
    flex-direction: column;
    justify-content: center;   /* center vertically */
    align-items: center;       /* center horizontally */
    gap: 1.5 rem;               /* more spacing for elegance */

    background: rgba(162, 145, 97, 0.35); /* softer golden tint */
    background: linear-gradient(
        135deg,
        rgba(162, 145, 97, 0.4),
        rgba(162, 145, 97, 0.2)
    ); /* subtle gradient for depth */
    
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%); /* Safari support */

    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    background-clip: padding-box;

    position: fixed;
    top: 85px; /* appears below navbar/burger */
    left: 0;
    width: 100%;
    height: 70vh;
    z-index: 1000;

    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2); /* soft shadow for depth */
    transition: all 0.4s ease-in-out;
}

/* Style links inside the mobile menu */
.nav-links.active a {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    text-decoration: none;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-links.active a:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
}

.nav-links.active a:active {
    transform: scale(0.95);
}

/* Optional: subtle fade-in animation */
.nav-links.active {
    animation: fadeInGlass 0.4s ease forwards;
}

@keyframes fadeInGlass {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
/* End Mobile menu changes JCP 27 Sep */


    .mobile-menu {
        display: flex;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-glass {
        padding: 2rem;
        margin: 0 1rem;
    }

    .btn-outline {
        margin-left: 0;
        margin-top: 1rem;
        display: block;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

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

    section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .carousel-item {
        flex: 0 0 calc(50% - 1rem);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .fab {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .container {
        width: 95%;
    }

    .hero {
        padding: 80px 0 50px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-glass {
        padding: 1.5rem;
    }

    .card {
        padding: 1.5rem;
    }

    .carousel-item {
        flex: 0 0 calc(100% - 1rem);
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-card {
        padding: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center;
    }
}

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

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

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

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 0.5rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.pt-1 { padding-top: 1rem; }
.pt-2 { padding-top: 2rem; }
.pt-3 { padding-top: 3rem;}
.pb-1 { padding-bottom: 1rem; }
.pb-2 { padding-bottom: 2rem; }
.pb-3 { padding-bottom: 3rem; }

/* Testimonials */
/* .testimonials {
    background: var(--bg-light);
}

.testimonial-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
} */

/* Awards Section */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.award-card {
    background: var(--bg-white);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.award-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.award-card img {
    max-width: 100%;
    height: auto;
    margin-bottom: 1rem;
    border-radius: 5px;
}

/* Careers Section */
.careers-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.job-filters {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    background: var(--bg-light);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-color);
    color: white;
}

.job-listings {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.job-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.job-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
}

.job-meta {
    display: flex;
    gap: 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}
/* Cookie Consent Styles */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #2d4369;
  color: white;
  padding: 15px 20px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  display: none;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.cookie-content p {
  margin: 0;
  flex: 1;
  min-width: 250px;
}

.cookie-content a {
  color: #FFFFFF;
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

.cookie-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 500px;
  cursor: pointer;
  font-weight: 600;
  font-family: Roboto, sans-serif;
  font-size:16px;
}

.cookie-btn.accept {
  background: #00007F;
  color: white;
  border: 2px solid white;
}

.cookie-btn.decline {
  background: transparent;
  color: white;
  border: 2px solid white;
}

@media (max-width: 600px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-buttons {
    width: 100%;
  }
  
  .cookie-btn {
    flex: 1;
  }
}
 /* Testimonial styling */
					.testimonial-card {
						border-left: 5px solid var(--secondary-color);
					}
					
					/* Testimonial carousel styling */
				   /* Testimonials Section */
			.testimonial-carousel {
				overflow: hidden;
				position: relative;
				width: 100%;
			}

			.testimonial-container {
				display: flex;
				transition: transform 0.5s ease;
				flex-wrap: nowrap;
			}

			.testimonial-item {
				min-width: 100%;
				padding: 0px 15px;
				box-sizing: border-box;
			}

			/* New CSS for navigation buttons */
			#prev-button,
			#next-button {
				background-color: #fff;
				border: none;
				cursor: pointer;
				font-size: 1.5rem;
				padding: 10px;
				z-index: 10;
			}

			/* New CSS for indicators */
			.testimonial-indicators {
				display: flex;
				justify-content: center;
				margin-top: 20px;
			}

			.indicator {
				width: 12px;
				height: 12px;
				background-color: #ccc;
				border-radius: 50%;
				margin: 0 5px;
				cursor: pointer;
			}

			.indicator.active {
				background-color: #A29161;
			}

        
        /* Enhanced Navigation styling */
        .nav-container {
            position: relative;
        }
		.nav-link {
            position: relative;
            color: var(--text-dark);
            font-weight: 500;
            padding: 0.75rem 1.25rem;
            margin: 0 0.25rem;
            transition: all 0.3s ease;
            border-radius: 8px;
        }
        
        .nav-link:hover {
            color: var(--accent-color);
            background-color: rgba(74, 109, 167, 0.08);
        }
        
        .nav-link.Amazing {
            color: white;
            background-color: var(--primary-color);
        }
        
        /* Responsive adjustments */
        @media (max-width: 768px) {
            .section {
                padding: 3rem 1rem;
            }
            
            h1 {
                font-size: 2rem;
            }
            
            h2 {
                font-size: 1.75rem;
            }
            
            .testimonial-item {
                min-width: 100%;
            }
        }
        
        @media (min-width: 768px) {
            .testimonial-item {
                min-width: 100%;
            }
        }
        
        @media (min-width: 1024px) {
            .testimonial-item {
                min-width: 100%;
            }
        }
		/* Testimonial Button Positioning */
.testimonial-carousel {
    position: relative;
    overflow: hidden;
}

#prev-button,
#next-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: white;
    color: #333333;
    padding: 10px;
    border-radius: 50%;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s ease;
}

#prev-button:hover,
#next-button:hover {
    background-color: #f0f0f0;
}

#prev-button {
    left: 0;
    margin-left: 5px; /* Adjust as needed for alignment */
}

#next-button {
    right: 0;
    margin-right: 5px; /* Adjust as needed for alignment */
}
/* Success Stories Carousel Styles */
.success-stories {
    background: var(--bg-light);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.success-stories::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 1440 320"><path fill="%230A2463" fill-opacity="0.03" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.5;
}

.success-stories-carousel {
    position: relative;
    margin: 3rem 0;
    overflow: hidden;
    border-radius: 20px;
}

.story-carousel-container {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    gap: 2rem;
    padding: 1rem;
}

.story-card {
    flex: 0 0 calc(33.333% - 1.33rem);
    background: var(--bg-white);
    border-radius: 20px;
    box-shadow: var(--shadow-card);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    border: 1px solid var(--border-color);
    position: relative;
}

.story-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.story-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-card-hover);
}

.story-card:hover::before {
    transform: scaleX(1);
}

.story-content {
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.story-content h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

.story-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    font-style: italic;
}

.story-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.story-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    transition: all 0.3s ease;
}

.story-card:hover .story-author img {
    transform: scale(1.1);
    border-color: var(--secondary-color);
}

.story-author h4 {
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.story-author span {
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.4;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-prev,
.carousel-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.carousel-prev:hover,
.carousel-next:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
    box-shadow: var(--shadow-hover);
}

.carousel-nav i {
    pointer-events: none;
}

/* Responsive Design for Success Stories */
@media (max-width: 1024px) {
    .story-card {
        flex: 0 0 calc(50% - 1rem);
    }
}

@media (max-width: 768px) {
    .story-card {
        flex: 0 0 100%;
    }
    
    .carousel-nav {
        margin-top: 1rem;
    }
    
    .carousel-prev,
    .carousel-next {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Responsive Design Added on 27 Sept 2025*/
/* Responsive Design */
@media (max-width: 900px) {
    /* Optional: Small screen adjustments for Hero section (retained from previous fix) */
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    /* IMPORTANT: We are now applying mobile-specific styling to the standard .nav-links 
    when the screen is small by using a nested, unique class. 
    To use this, you must add the class 'iycon-mobile-nav' to your <ul class="nav-links"> element 
    in your HTML, so it looks like <ul class="nav-links iycon-mobile-nav">.
    */
    .iycon-mobile-nav {
        /* Mobile Menu Styling & Initial State (1. Closed on load) */
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: #0A2463; /* Matching background color */
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
        
        /* Hiding mechanism using max-height for smooth transition */
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
        padding: 0 0; /* No padding when closed */
    }

    /* 2. Open state when 'iycon-mobile-open' class is toggled */
    .iycon-mobile-nav.iycon-mobile-open {
        max-height: 500px; /* Sufficient height to show all links */
        padding: 10px 0; /* Padding when open */
    }

    /* Targetting the links inside the mobile nav */
    .iycon-mobile-nav li {
        margin: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .iycon-mobile-nav li:last-child {
        border-bottom: none;
    }

    .iycon-mobile-nav a {
        padding: 15px 20px;
        color: #fff; /* White text on dark background */
        display: block;
        text-align: center;
        position: static;
    }

    /* 3. Interactive hover/mouseover effects for mobile menu */
    .iycon-mobile-nav a:hover,
    .iycon-mobile-nav a:focus {
        background-color: rgba(255, 255, 255, 0.1); /* Subtle white background overlay */
        color: #FFD700; /* Accent color for text */
    }

    /* Disable desktop hover line effect on mobile */
    .iycon-mobile-nav a::after {
        display: none;
    }

    /* Mobile Toggle Button Styles (Unique Class) */
    .mobile-nav-toggle {
        display: block; /* Show button on mobile */
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        color: #0A2463;
        padding: 0;
        line-height: 1;
    }

    /* Cookie Banner responsive fix (optional, but good practice) */
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-content p {
        margin: 0 0 10px 0;
    }
}
