:root {
    --primary: #4285f4; /* Google Blue */
    --secondary: #ea4335; /* Google Red */
    --accent: #fbbc05; /* Google Yellow */
    --light: #34a853; /* Google Green */
    --dark: #202124; /* Google Dark Gray (Material default) */
     --text-color: #202124;
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "quicksand", Tahoma, Geneva, Verdana, sans-serif;
}
body {
    background: linear-gradient(135deg, #f0f4f8, #e6ecf2);
    color: var(--primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    padding-top: 80px;
}

/* Default fluid container for mobile-first approach */
.container {
  width: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
  margin-left: auto;
  margin-right: auto;
}

/* For screens 768px and wider (e.g., tablets) */
@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

/* For screens 992px and wider (e.g., desktops) */
@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

/* For screens 1200px and wider (e.g., large desktops) */
@media (min-width: 1500px) {
  .container {
    max-width: 1260px;
  }
}


p {
    font-weight: 500;
}
a {
    text-decoration: none;
} /* Floating background shapes */
.floating-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}
.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(252, 104, 54, 0.05);
    animation: float 20s linear infinite;
    opacity: 0.6;
}
@keyframes float {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
    }
    25% {
        transform: translateY(-50px) translateX(50px) rotate(90deg);
    }
    50% {
        transform: translateY(-100px) translateX(0) rotate(180deg);
    }
    75% {
        transform: translateY(-50px) translateX(-50px) rotate(270deg);
    }
    100% {
        transform: translateY(0) translateX(0) rotate(360deg);
    }
} /* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(12, 45, 87, 0.05);
    transition: var(--transition);
}
.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
}
.logo span {
    color: var(--secondary);
}
.nav-links {
    display: flex;
    gap: 2rem;
}
.nav-links a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition);
    font-size: 1.1rem;
}
/*.nav-links a::after {*/
/*    content: "";*/
/*    position: absolute;*/
/*    bottom: 0;*/
/*    left: 0;*/
/*    width: 0;*/
/*    height: 3px;*/
/*    background: var(--secondary);*/
/*    transition: var(--transition);*/
/*}*/
/*.nav-links a:hover::after {*/
/*    width: 100%;*/
/*}*/
/*.nav-links a:hover {*/
/*    color: var(--secondary);*/
/*}  Hero Section */
.hero {
    text-align: center;
    padding: 5rem 5% 3rem;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.hero h1 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s forwards 0.3s;
}
.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s forwards 0.5s;
    color: rgba(12, 45, 87, 0.8);
    max-width: 700px;
    margin: 0 auto 2rem;
}
.highlight {
    color: var(--secondary);
    font-weight: 700;
}
.hero-btns {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s forwards 0.7s;
}
.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.1rem;
    border: 2px solid transparent;
    align-items: center;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}
.btn-outline {
    border: 2px solid var(--secondary);
    color: var(--secondary);
    background: transparent;
}
.btn-primary {
    background: var(--accent);
    border: 2px solid var(--dark);
    color: var(--dark);
}
/*.btn-primary:hover {*/
/*    color: var(--secondary);*/
/*    background: transparent;*/
/*    transform: rotate(2.5deg);*/
/*}*/
/*.btn-outline:hover {*/
/*    background: var(--secondary);*/
/*    color: white;*/
/*    transform: rotate(-2.5deg);*/
/*}*/
/*.btn:hover {*/
/*    transform: roate(2.5deg);*/
/*} Portfolio Section */
.section {
    padding: 4rem 5%;
    position: relative;
    z-index: 1;
}
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s forwards;
}
.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    color: var(--primary);
}
.section-title::after {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% + 10px);
    height: 30%;
    background: var(--accent);
    z-index: -1;
    border-radius: 2px;
}
.section-subtitle {
    color: rgba(12, 45, 87, 0.7);
    max-width: 65%;
    margin: 0 auto;
    font-size: 2rem;
}
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}
.card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(12, 45, 87, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    text-decoration: none;
}
.card-top {
    height: 100%;
    width: 100%;
    background: linear-gradient(45deg, #0c2d57, #1a4a8f);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.card-top::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(252, 104, 54, 0.1), transparent);
    z-index: 1;
}
.card-icon {
    font-size: 3.5rem;
    color: white;
    z-index: 2;
    transition: transform 0.3s ease;
    width: 100%;
    height: 100%;
    transform: scale(1.02);
}
img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.card-bottom {
    height: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: white;
}
.card-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #0c2d57;
    text-align: center;
    transition: color 0.3s ease;
} /* Hover Effects */
.card:hover {
    /* transform: translateY(-10px); */
    box-shadow: 0 15px 30px rgba(12, 45, 87, 0.15);
}
.card:hover .card-top {
    background: linear-gradient(45deg, #fc6736, #ff8c61);
}
.card:hover .card-icon {
    /* transform: scale(1.05); */
}
.card:hover .card-title {
    color: #fc6736;
} /* Card Border Effects */
.card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #fc6736;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.card:hover::after {
    transform: scaleX(1);
} /* Responsive Design */
@media (max-width: 1100px) {
    .cards {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    .cards {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
} /* Contact Section */
.contact {
    background: white;
    border-radius: 30px;
    max-width: 80%;
    margin: 0 auto;
    padding: 3rem;
    box-shadow: 0 20px 50px rgba(12, 45, 87, 0.1);
    transform: translateY(50px);
    opacity: 0;
    animation: fadeUp 0.8s forwards 0.3s;
}
/*.contact-content {*/
/*    display: flex;*/
/*    gap: 3rem;*/
/*    align-items: center;*/
/*}*/
.contact-text {
    flex: 1;
    text-align: center;
}
.contact-text h2 {
    font-size: 3rem;
    margin-bottom: 3rem;
    color: var(--primary);
}
.contact-text p {
    font-size: 1.5rem;
    max-width: 80%;
    margin: auto;
}
.contact-details {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.contact-icon a {
    width: 12rem;
    height: 12rem;
    background: var(--primary);
    border-radius: 10%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 7rem;
    color: white;
} /* .contact-icon a:hover {*/ /* animation-name: myInfiniteAnimation;*/ /* animation-duration: 3s;*/ /* animation-timing-function: linear;*/ /* animation-iteration-count: infinite;*/ /*}*/ /* @keyframes myInfiniteAnimation {*/ /* 0% {*/ /* border-radius: 85% 30% 68% 40%;*/ /* }*/ /* 25% {*/ /* border-radius: 25% 60% 38% 10%;*/ /* }*/ /* 50% {*/ /* border-radius: 15% 50% 28% 70%;*/ /* }*/ /* 75% {*/ /* border-radius: 15% 80% 18% 12%;*/ /* }*/ /* 75% {*/ /* border-radius: 56% 10% 12% 76%;*/ /* }*/ /* 100% {*/ /* border-radius: 85% 30% 68% 40%;*/ /* }*/ /*}*/
@keyframes blobMorph {
    0% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
    25% {
        border-radius: 30% 70% 60% 40% / 50% 60% 40% 50%;
    }
    50% {
        border-radius: 70% 30% 50% 50% / 40% 70% 30% 60%;
    }
    75% {
        border-radius: 40% 60% 70% 30% / 60% 40% 50% 50%;
    }
    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
}

.contact-icon a:hover {
    width: 12rem;
    height: 12rem;
    background: linear-gradient(135deg, #ff6ec4, #7873f5);
    animation: blobMorph 10s ease-in-out infinite;
    transition: all 0.3s ease;
}
.social-icons a:hover,
.btn-outline:hover,
.btn-primary:hover{
    background: linear-gradient(135deg, #ff6ec4, #7873f5);
    animation: blobMorph 10s ease-in-out infinite;
    transition: all 0.3s ease;
    color: #fff;
}
.contact-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    color: var(--primary);
}
.contact-info p,
.contact-info p a {
    color: rgba(12, 45, 87, 0.7);
}
.contact-info p a:hover {
    color: var(--secondary);
}
.contact-form {
    flex: 1;
    background: #fbbc055e;
    padding: 2rem;
    border-radius: 20px;
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.7rem;
    font-weight: 600;
    color: var(--dark);
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border-radius: 12px;
    background: white;
    border: 1px solid rgba(12, 45, 87, 0.1);
    color: var(--primary);
    font-size: 1rem;
    transition: var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(252, 104, 54, 0.2);
} /* Footer */
footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 4rem 5% 2rem;
    background: var(--primary);
    margin-top: 4rem;
    color: white;
}
.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.8rem;
    margin: 2.5rem 0;
}
.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 2rem;
    transition: var(--transition);
}
.social-icons a:hover {
    background: var(--secondary);
    transform: rotate(5deg);
}
.copyright {
    margin-top: 2rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
} /* Animations */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
} /* Responsive Design */
@media (max-width: 992px) {
    .contact-content {
        flex-direction: column;
    }
    .hero h1 {
        font-size: 2.8rem;
    }
}
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.3rem;
    }
    .hero p {
        font-size: 1.1rem;
    }
    .nav-links {
        gap: 1.5rem;
    }
    .contact {
        padding: 2rem;
    }
    .cards {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}
@media (max-width: 576px) {
    .hero-btns {
        flex-direction: column;
        gap: 1rem;
    }
    .nav-links {
        display: none;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .section-title {
        font-size: 2rem;
    }
}


.scribble-link {
  position: relative;
  display: inline-block;
  color: #000;
  text-decoration: none;
  font-weight: bold;
}

.scribble-svg {
  position: absolute;
  left: 0;
  bottom: -4px; /* adjust underline position */
  width: 100%;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5px;
}

.scribble-svg path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 0.4s ease;
}

.scribble-link:hover .scribble-svg path {
  stroke-dashoffset: 0;
}

.floating-logos {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1; /* stay behind content */
  pointer-events: none;
}

.floating-logos img {
  position: absolute;
  width: 40px;
  height: 40px;
  opacity: 0.5;
  animation: floatlogo 10s linear infinite;
}

.floating-logos img:nth-child(1) { top: 10%; left: 15%; animation-duration: 18s; }
.floating-logos img:nth-child(2) { top: 40%; left: 5%;  animation-duration: 22s; }
.floating-logos img:nth-child(3) { top: 70%; left: 20%; animation-duration: 25s; }
.floating-logos img:nth-child(4) { top: 30%; left: 80%; animation-duration: 20s; }
.floating-logos img:nth-child(5) { top: 60%; left: 60%; animation-duration: 24s; }
.floating-logos img:nth-child(6) { top: 85%; left: 35%; animation-duration: 28s; }
.floating-logos img:nth-child(7) { top: 10%; left: 15%; animation-duration: 18s; }
.floating-logos img:nth-child(8) { top: 40%; left: 5%;  animation-duration: 22s; }
.floating-logos img:nth-child(9) { top: 70%; left: 20%; animation-duration: 25s; }
.floating-logos img:nth-child(10) { top: 30%; left: 80%; animation-duration: 20s; }
.floating-logos img:nth-child(11) { top: 60%; left: 60%; animation-duration: 24s; }
.floating-logos img:nth-child(12) { top: 85%; left: 35%; animation-duration: 28s; }

@keyframes floatlogo {
  0%   { transform: translateY(0) rotate(0deg); opacity: 0.2; }
  50%  { transform: translateY(-50px) rotate(180deg); opacity: 0.4; }
  100% { transform: translateY(0) rotate(360deg); opacity: 0.2; }
}



h2.scribble-link svg.scribble-svg path {
    stroke-dasharray: 0;
    stroke-dashoffset: 0;
}

h2.scribble-link svg.scribble-svg  {
    bottom: -12px;
    height: 16px;
    stroke: var(--light);
    stroke-width: 1px;
}


/* ===== Skills Section ===== */
#skills {
  background: transparent;
  color: #fff;
  padding: 4rem 0;
  text-align: center;
  
}

/*#skills .container {*/
/*  max-width: 1000px;*/
/*  margin: 0 auto;*/
/*  padding: 0 20px;*/
/*}*/

#skills h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

#skills h2 span {
  color: var(--primary);
}

#skills .subtitle {
  color: var(--dark);
  margin-bottom: 50px;
  font-size: 1.1rem;
}

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

/* ===== Skill Cards ===== */

.skills-grid {
  /* This ensures the cards are the direct children for :nth-child to work */
  display: grid;
  gap: 1.5rem;
}

.skill-card {
  color: var(--text-color); /* Apply the consistent font color here */
}

/* Use :nth-child() to target specific cards and apply a lighter background color */
.skill-card:nth-child(1) {
  /* Using color-mix() to lighten the primary color */
  background-color: color-mix(in srgb, var(--primary), white 50%);
}

.skill-card:nth-child(2) {
  /* Using color-mix() to lighten the secondary color */
  background-color: color-mix(in srgb, var(--secondary), white 50%);
}

.skill-card:nth-child(3) {
  /* Using color-mix() to lighten the accent color */
  background-color: color-mix(in srgb, var(--accent), white 50%);
}

.skill-card:nth-child(4) {
  /* Using color-mix() to lighten the light color */
  background-color: color-mix(in srgb, var(--light), white 50%);
}

.skill-card:nth-child(5) {
  /* Using color-mix() to lighten a custom color (e.g., a variant of primary) */
  background-color: color-mix(in srgb, var(--primary), white 50%);
}

.skill-card:nth-child(6) {
  /* Using color-mix() to lighten a different color */
  background-color: color-mix(in srgb, var(--secondary), white 50%);
}


.skill-card {
  background: #2a2b2e !important;
  padding: 25px;
  border-radius: 16px;
  transition: var(--transition);
  border: 1px solid transparent;
  z-index: 999;
}

.skill-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 8px 20px rgba(66, 133, 244, 0.2);
}

.skill-card h3 {
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 1.7rem;
}

.skill-card p {
  color: #ccc;
  font-size: 1.3rem;
  line-height: 1.5;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  #skills h2 {
    font-size: 2rem;
  }

  .skills-grid {
    gap: 20px;
  }
}







/* Use :nth-child() to target specific cards and apply a lighter background color */
.social-icons a:nth-child(1) {
  /* Using color-mix() to lighten the primary color */
  background-color: color-mix(in srgb, var(--accent), white 0%);
}

.social-icons a:nth-child(2) {
  /* Using color-mix() to lighten the secondary color */
  background-color: color-mix(in srgb, var(--dark), white 0%);
}

.social-icons a:nth-child(3) {
  /* Using color-mix() to lighten the accent color */
  background-color: color-mix(in srgb, var(--light), white 0%);
}

.social-icons a:nth-child(4) {
  /* Using color-mix() to lighten the light color */
  background-color: color-mix(in srgb, var(--secondary), white 0%);
}





