:root {
    --primary: #0A1931;
    --secondary: #e74c3c;
    --accent: #0ad1aa;
    --light: #EAECEC;
    --dark: #0A1931;
    --success: #2ecc71;
    --warning: #f39c12;
    --text: #333;
    --black: #000;
    --white: #fff;
    --text-light: #777;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

html {
    overflow-x: hidden;
    font-family: 'Sora', Arial, Helvetica, sans-serif;
}

body {
    background-color: #f8f9fa;
    color: var(--primary);
    line-height:3;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Bree Serif', Georgia, serif;
}

p {
    font-family: 'Sora', Arial, Helvetica, sans-serif;
}

a {
    text-decoration: none;
}

section {
    min-height: 100vh;
    padding: 80px 5%;
    position: relative;
    overflow: hidden;
    transition: background-color 0.8s ease;
}

header {
    background: var(--primary);
    color: white;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}
.light {
    background-color: var(--light);
    color: var(--primary);
}

.dark {
    background-color: var(--primary);
    color: var(--light);
}
.accent {
    background-color: var(--accent);
    color: var(--light);
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

i{
    color: var(--secondary);
}
p .contents{
    text-align: justify;
}
.btn{
    border:none;
    padding:15px 20px;
}
.btn-primary{
    background:var(--primary);
    color:white;
}
 .btn-secondary, .btn-white:hover{
    background:var(--secondary);
     color:white;
}
.btn-accent, .btn-primary:hover{
    background: var(--accent);
    color:white;
}
.btn-accent:hover{
    background: var(--dark);
    color: var(--accent);
}
.btn-black{
    background:black;
    color:white;
}
.btn-white, .btn-secondary:hover{
    background:white;
    color:var(--secondary);
}
.btn-secondary i {
    color:#fff;
}
.section-title {
    text-align: center!important;
    margin: 30px 0 20px;
    font-size: 2.2rem;
    color: var(--dark);
    position: relative;
    font-weight: 700;
}
.side-title{
   text-align: left!important;
    margin: 30px 0 20px;
    font-size: 2.2rem;
    color: var(--dark);
    position: relative;
    font-weight: 700;   
}
.section-title:after, .side-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--secondary);
    margin: 15px auto;
    border-radius: 2px;
}
.dark .section-title {
    text-align: center!important;
    margin: 50px 0 40px;
    font-size: 2.2rem;
    color: var(--light);
    position: relative;
    font-weight: 700;
}

.dark .section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--secondary);
    margin: 15px auto;
    border-radius: 2px;
}
.sectionhead{
    text-align: center!important;
    line-height: 2;
}
.sectionhead h1{
     font-weight: 700;
}
.sectionhead p{
    max-width: 710px;
    margin: 0 auto 80px;
    opacity: 0.9;
    font-size:1rem;
    margin-top:20px;
}
.icon-circle {
  width: 70px;
  height: 70px;
  background: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 15px;
  color: white;
}
.icon-circle i {
    color: white;
}
.icon-circle:hover{
    border:10px double var(--secondary);
    background:white;
    color: var(--secondary);
}
.icon-circle i:hover {
      color: var(--secondary);
}
.logo {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
}

.logo i {
    color: var(--secondary);
}

.navbar-nav .nav-link {
    color: white;
    font-weight: 600;
    transition: var(--transition);
    padding: 2px 15px;
    border-radius: 4px;
    margin-left:5px;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--secondary);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--secondary);
    transition: var(--transition);
    transform: translateX(-50%);
}

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

.nav-tabs .nav-link.active {
    background-color: var(--primary);
    color: white;
    border: none;
}

.nav-tabs .nav-link {
    color: #0A1931;
}

.sidebar {
    position: sticky;
    top: 20px;
    padding: 20px;
}

.sidebar .list-group-item {
    border: none;
    border-left: 3px solid transparent;
    padding: 0.75rem 1.25rem;
}

.sidebar .list-group-item.active {
    background-color: transparent;
    color: var(--primary);
    border-left: 3px solid var(--secondary);
    font-weight: 600;
}

.sidebar .list-group-item:hover {
    background-color: #ddd;
}

/* Hero Section */ 
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, #0A1931 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

/* Animated Icons - Improved positioning */ 
.icon-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.icon {
    position: absolute;
    font-size: 2rem;
    opacity: 0.40;
    z-index: 1;
    color: #e74c3c;
}

.bounce {
    animation: bounce 8s infinite ease-in-out;
}

.fade {
    animation: fade 12s infinite ease-in-out;
}

.sketch {
    animation: sketch 10s infinite linear;
}

.paint {
    animation: paint 14s infinite ease-in-out;
}

@keyframes bounce {
    0%, 100% {
    transform: translateY(0) rotate(0deg);
}

50% {
    transform: translateY(-40px) rotate(5deg);
}
}

@keyframes fade {
    0%, 100% {
    opacity: 0.1;
    transform: scale(0.8);
}

50% {
    opacity: 0.2;
    transform: scale(1.1);
}
}

@keyframes sketch {
    0% {
    transform: translate(0, 0) rotate(0deg);
}

25% {
    transform: translate(60px, 40px) rotate(90deg);
}

50% {
    transform: translate(0, 80px) rotate(180deg);
}

75% {
    transform: translate(-60px, 40px) rotate(270deg);
}

100% {
    transform: translate(0, 0) rotate(360deg);
}
}

@keyframes paint {
    0% {
    transform: translate(0, 0) scale(1);
}

33% {
    transform: translate(50px, -30px) scale(1.2);
}

66% {
    transform: translate(-40px, 40px) scale(0.9);
}

100% {
    transform: translate(0, 0) scale(1);
}
}


.card p, .box-card p, .value-card p, .resource-card p, .blog-card p{
    line-height:35px;
    margin-top:20px;
}

.value-card {
            background: rgba(0, 0, 0, 0.2);
            border-radius: 10px;
            padding: 10px 20px;
            text-align: center;
            height: 100%;
            transition: transform 0.3s ease;
        }
        
         .value-card:hover {
            transform: translateY(-10px);
        }
        
        .value-icon {
            font-size: 2.5rem;
        }
        .box-card{
            background:white;
            box-shadow: 1px solid #ddd;
            padding:20px 10px;
            color:#000;
        }
         .box-card:hover, .box-card:hover i, .service-card:hover{
            background:var(--secondary);
            color:white;
        }
       
   .resource-card {
            background-color: white;
            color:var(--primary);
            border-radius: 10px;
            overflow: hidden;
            transition: all 0.3s;
            height: 100%;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }     
        .resource-img {
            height: 180px;
            background: var(--accent);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 3rem;
        }
        .resource-img i{color: #fff}
        .resource-content {
            padding: 25px;
        }
         .tool-card {
            background-color: white;
            border-radius: 10px;
            padding: 25px;
            text-align: center;
            transition: all 0.3s;
            height: 100%;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }
        .tool-icon {
            font-size: 2.5rem;
            margin-bottom: 15px;
            color: var(--secondary);
            background:none;
        }
        
        
.tool-card:hover {
    background-color: var(--primary);
    color: #fff;
    transform: rotateY(360deg); /* Flip the card */
}
        
          .cta-section {
            background: linear-gradient(rgba(211, 84, 0, 0.9), rgba(211, 84, 0, 0.8)), url('https://images.unsplash.com/photo-1552664730-d307ca884978?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80');
            background-size: cover;
            background-position: center;
            padding: 100px 0;
            text-align: center;
            color: white;
        }


        /* Blog Section Styles */
        .blog-card {
            background-color: var(--light);
            border-radius: 10px;
            overflow: hidden;
            transition: all 0.3s;
            height: 100%;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }
        .blog-img {
            height: 200px;
            background: var(--primary);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 3rem;
        }
         .blog-content {
            padding: 25px;
        }
        
        .blog-meta {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
            font-size: 0.9rem;
            color: gray;
        }
         
        .blog-meta span {
            margin-right: 15px;
        }
        
        .blog-meta i {
            margin-right: 5px;
            color: var(--secondary);
        }
        
         .blog-tags {
            display: flex;
            flex-wrap: wrap;
            margin-top: 15px;
        }
        
        .blog-tag {
            background-color: rgba(211, 84, 0, 0.1);
            color: var(--secondary);
            padding: 5px 10px;
            border-radius: 20px;
            font-size: 0.8rem;
            margin-right: 8px;
            margin-bottom: 8px;
        }
        
        
    .scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    padding: 20px;
    font-size: 20px;
    cursor: pointer;
    display: none;
    z-index: 1000;
}

.scroll-to-top:hover {
    background-color: var(--accent);
}

.stat-item {
    
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--secondary); /* Initial color (dark gray) */
    transition: color 0.3s ease;
}
          .abouthero {
            background: linear-gradient(rgba(10, 25, 49, 0.9), rgba(10, 25, 49, 0.95)), url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80');
            background-size: cover;
            background-position: center;
            padding: 50px 0 50px;
            color: var(--light);
        }
        
        .abouthero h1 {
            font-size: 3.5rem;
            font-weight: 700;
            margin-bottom: 30px;
            margin-top:20px;
        }
        
        .abouthero p {
            font-size: 1.2rem;
            margin-bottom: 30px;
            color: rgba(255, 255, 255, 0.8);
            line-height:35px;
        }
        
         .toc-list {
            list-style-type: none;
            padding-left: 0;
            margin-bottom:180px;
        }
                .toc-list a {
            color: var(--primary);
            text-decoration: none;
            transition: color 0.3s;
        }
        .toc-list a.active, .toc-list a:hover {
     color: var(--secondary);
    font-weight: 600;
     border-left:2px solid var(--secondary);
    border-radius: 4px;
    padding:10px 15px;
}
.toc-section{
padding-bottom:80px;
}
.toc-section h2{
 color: var(--secondary);   
}

.toc-section h3{
 color: var(--accent);   
}

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

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    font-weight: 600;
}

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

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

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

.footer-column ul li a {
    color: #ccc;
    text-decoration: none!important;
    transition: var(--transition);
}

.footer-column a:hover {
    color: white;
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
    color: var(--accent);
    text-decoration: none!important;
}

.social-icons a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #aaa;
    margin-top: 30px;
}



.copy-trigger.copied {
    background-color: var(--primary) !important;
    color: #fff !important;
    transition: background-color 0.3s ease;
}

/* Mobile Nav */ .navbar-toggler {
    border: none;
    color: white;
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 {
    font-size: 2.5rem;
}

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

@media (max-width: 768px) {
    .hero {
    padding: 80px 0;
}

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

@media (max-width: 576px) {
    .logo {
    font-size: 1.5rem;
}
} 